unhcr / dataviz-streamgraph-explorer

https://unhcr.github.io/dataviz-streamgraph-explorer/#types=1-2-3-4-5-6-7
BSD 3-Clause "New" or "Revised" License
16 stars 4 forks source link

Better Colors #100

Closed curran closed 7 years ago

curran commented 7 years ago

Currently we're using d3.schemeCategory10, which only gives us 10 colors. Some colors are used for multiple countries.

I think it would be better if there were many discinct colors. It's not critical that we be able to distinguish between each one, but we'd like to at least have all countries appear to be different to each other in color when they are placed next to each other in the StreamGraph.

Here's an example of what we want to avoid (in red boxes):

image

curran commented 7 years ago

Some ideas:

curran commented 7 years ago

Also lighter colors with dark text would be good, so we can have text over the bars for small displays - related to #93