Live data from Hacker News

"I Want Hue" – Colors for Data Scientists

tools.medialab.sciences-po.fr

1–10 of 40 posts

Re: "I Want Hue" – Colors for Data Scientists

#2
This is an interesting tool, it fails at 16 colors. Which is surprising. (it may be the gamut of my display of course but I would think 16 would be within its abilities). That is probably the most number of distinct colors I've needed in a graph. Works nicely for numbers 10 and below.

Re: "I Want Hue" – Colors for Data Scientists

#7
I've used something similar in matlab, which I though worked a little better. It started out with red green blue, colors frequently considered maximally distinct, at least on color monitors for the non-colorblind. Then it just found maximally distant points in the color cube. I found it worked nicely and you could also seed it with your own starting color(s).

Edit: found out it is based on Lab color space.

Re: "I Want Hue" – Colors for Data Scientists

#9
I really like the interaction and flexibility, but I failed to generate a set of colors as nice as those provided by Color Brewer (http://colorbrewer2.org/). Sure, Color Brewer doesn't dynamically generate color schemes, but the set of colors it provides looks damn good in just about any context. I might use this new app in cases where I need more than 12 colors (Color Brewer's limit), but I don't think dynamic color scheme generation adds much. The JSON and CSS exports do seem very useful, however, and a big improvement over Color Brewer's interface.

Re: "I Want Hue" – Colors for Data Scientists

#10
post #2

This is an interesting tool, it fails at 16 colors. Which is surprising. (it may be the gamut of my display of course but I would think 16 would be within its abilities). That is probably the most number of distinct colors I've needed in a graph. Works nicely for numbers 10 and below.

Hmm...the linked page worked for me on several tries for 16, 20, and 22 colors, even restricting the luminance somewhat.

I used the protovis categorical colors (http://mbostock.github.com/protovis/docs/color.html, see at the bottom of the page) when I needed a 20-color map recently.

Post reply on HN