From 7ab8a8894d99f5a25b2a037e513b9dff3d4a6819 Mon Sep 17 00:00:00 2001 From: Colin Megill Date: Wed, 7 Jul 2021 15:53:22 -0700 Subject: [PATCH] no overlap --- client/src/components/dotplot/dot.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/client/src/components/dotplot/dot.js b/client/src/components/dotplot/dot.js index 5362c66e..21f5dab6 100644 --- a/client/src/components/dotplot/dot.js +++ b/client/src/components/dotplot/dot.js @@ -24,11 +24,12 @@ const Dot = (props) => { ); /* SUM REMAINING ELEMENTS */ /* TODO(colinmegill) #632 scale between correct dimensions */ - const paddingEquivalentToRowColumnIndexOffset = 0; + const paddingEquivalentToRowColumnIndexOffset = 8; const dotscale = d3 .scaleLinear() .domain([0, 1]) .range([0, rowColumnSize - paddingEquivalentToRowColumnIndexOffset]); + const _radius = dotscale(expressing / totalCells); return (