Add lyftColor to the game 💯 (#4682)

* add lyftColor to the game 💯

* fix json
This commit is contained in:
Hugh A. Miles II 2018-03-23 18:02:29 -07:00 committed by Maxime Beauchemin
parent 00cab7e107
commit 9abc5c724f
2 changed files with 12 additions and 0 deletions

View File

@ -2747,6 +2747,10 @@
[
"googleCategory20c",
"googleCategory20c"
],
[
"lyftColors",
"lyftColors"
]
],
"description": "The color scheme for rendering chart",

View File

@ -27,6 +27,14 @@ export const bnbColors = [
'#b37e00',
'#988b4e',
];
export const lyftColors = [
'#ff00bf', // pink
'#352384', // purple
'#333447', // carbon
'#f3f3f5', // silver
];
const d3Category10 = d3.scale.category10().range();
const d3Category20 = d3.scale.category20().range();
const d3Category20b = d3.scale.category20b().range();