Skip to content

Commit

Permalink
make compare view work again
Browse files Browse the repository at this point in the history
  • Loading branch information
enjalot committed Feb 6, 2025
1 parent d1026e3 commit 83b96bc
Show file tree
Hide file tree
Showing 2 changed files with 387 additions and 305 deletions.
3 changes: 3 additions & 0 deletions web/src/components/Scatter.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -188,10 +188,13 @@ function ScatterPlot({
let r = range(0, 50);
const colorScale = scaleSequential(colorInterpolator).domain([0, 50]);
pointColor = r.map((i) => rgb(colorScale(i)).hex());
console.log('COLOR');
scatterplot.set({ colorBy: 'valueB' });
// scatterplot.set({ colorBy: 'valueA' });
}

if (opacityBy) {
console.log('OPACITY', opacityBy);
scatterplot.set({
opacityBy,
sizeBy: opacityBy,
Expand Down
Loading

0 comments on commit 83b96bc

Please sign in to comment.