diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2019-03-30 14:05:18 +0100 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2019-03-30 14:05:18 +0100 |
| commit | 74741a25434045ba04e87a1049476e7a14c62ae6 (patch) | |
| tree | 156a008169e2c169bc518394c66bbc9ebe587f49 /client/chart/constants.js | |
| parent | 164b92454f2814e73dee9f673c1de07b715bc424 (diff) | |
pie chart sizing
Diffstat (limited to 'client/chart/constants.js')
| -rw-r--r-- | client/chart/constants.js | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/client/chart/constants.js b/client/chart/constants.js index 295b9232..70375ba3 100644 --- a/client/chart/constants.js +++ b/client/chart/constants.js @@ -1,3 +1,5 @@ +/* various nice HSL gradients */ + export const rainbow = [ '#9e0142', '#d53e4f', @@ -28,6 +30,35 @@ export const colorblindSafeRainbow = [ // '#888888', ] +export const institutionColors = [ + '#f2f293', // edu (yellow) + '#3264f6', // company (blue) + '#f30000', // gov/mil (red) +] + +/* stuff for a 'countries' legend */ + export const topCountryCount = 10 export const otherCountriesLabel = 'Other Countries' + +/* institution tuples, labels and templates */ + +export const initialInstitutionLookup = { + 'edu': 0, + 'company': 0, + 'gov': 0, +} + +export const institutionOrder = { + 'edu': 0, + 'company': 1, + 'gov': 2, +} + +export const institutionLabels = { + 'edu': 'Academic', + 'company': 'Commercial', + 'gov': 'Government / Military', + 'mil': 'Government / Military', +}
\ No newline at end of file |
