Switch to a different color scheme

This commit is contained in:
Austin Chen 2022-08-25 22:31:03 -07:00
parent 6f2e2a3bbb
commit 26a2eb2391

View File

@ -105,7 +105,14 @@ export const AnswersGraph = memo(function AnswersGraph(props: {
tickValues: numXTickValues,
format: (time) => formatTime(+time, multiYear, lessThanAWeek, false),
}}
colors={{ scheme: 'pastel1' }}
colors={[
'#fca5a5', // red-300
'#93c5fd', // blue-300
'#86efac', // green-300
'#f9a8d4', // pink-300
'#a5b4fc', // indigo-300
'#fcd34d', // amber-300
]}
pointSize={0}
curve="stepAfter"
enableSlices="x"