This commit is contained in:
Thomas Rixen 2025-08-04 12:14:29 +00:00 committed by GitHub
commit 62e174f15e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -20,6 +20,7 @@ import {
curveBasis,
interpolateBlues,
interpolateGreens,
interpolateOranges,
interpolatePurples,
interpolateReds,
max,
@ -181,7 +182,7 @@ export function renderReviews(
const reds = scaleSequential((n) => interpolateReds(cappedRange(n)!)).domain(
x.domain() as any,
);
const blues = scaleSequential((n) => interpolateBlues(cappedRange(n)!)).domain(
const oranges = scaleSequential((n) => interpolateOranges(cappedRange(n)!)).domain(
x.domain() as any,
);
const purples = scaleSequential((n) => interpolatePurples(cappedRange(n)!)).domain(
@ -195,7 +196,7 @@ export function renderReviews(
case BinIndex.Young:
return lighterGreens;
case BinIndex.Learn:
return blues;
return oranges;
case BinIndex.Relearn:
return reds;
case BinIndex.Filtered: