summaryrefslogtreecommitdiff
path: root/client/chart/constants.js
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2019-03-30 12:17:56 +0100
committerJules Laplace <julescarbon@gmail.com>2019-03-30 12:17:56 +0100
commit164b92454f2814e73dee9f673c1de07b715bc424 (patch)
tree595a2ae4f2621bed30e339bb795081a0882728f2 /client/chart/constants.js
parentab46c9007b862eb512fe66cc47a325a7a374e20c (diff)
pie chart test
Diffstat (limited to 'client/chart/constants.js')
-rw-r--r--client/chart/constants.js33
1 files changed, 33 insertions, 0 deletions
diff --git a/client/chart/constants.js b/client/chart/constants.js
new file mode 100644
index 00000000..295b9232
--- /dev/null
+++ b/client/chart/constants.js
@@ -0,0 +1,33 @@
+export const rainbow = [
+ '#9e0142',
+ '#d53e4f',
+ '#f46d43',
+ '#fdae61',
+ '#fee08b',
+ '#ffffbf',
+ '#e6f598',
+ '#abdda4',
+ '#66c2a5',
+ '#3288bd',
+ '#5e4fa2',
+ // '#888888',
+]
+
+export const colorblindSafeRainbow = [
+ '#a50026',
+ '#d73027',
+ '#f46d43',
+ '#fdae61',
+ '#fee090',
+ '#ffffbf',
+ '#e0f3f8',
+ '#abd9e9',
+ '#74add1',
+ '#4575b4',
+ '#313695',
+ // '#888888',
+]
+
+export const topCountryCount = 10
+
+export const otherCountriesLabel = 'Other Countries'