3 ms·
Fun note I learned while working on this post: it's very tricky to build data visualizations that work well in both Light and Dark Mode. I had used the ColorBr
by minimaxir 7y ago
Fun note I learned while working on this post: it's very tricky to build data visualizations that work well in both Light and Dark Mode.
I had used the ColorBrewer diverging palettes for the rainbow box plot color schemes, but they're too light and have low contrast when inverted.
- OnlineGladiator 7y ago> it's very tricky to build data visualizations that work well in both Light and Dark Mode. I'm sure only a small percentage of people will appreciate the difference, but I am one of those people. Thank you for putting in the extra effort making it easy to digest.
- caseyf7 7y agoInterestingly, I was struck by the colors you used and instantly checked your code to find the palette. Your use of scale_fill_hue is beyond anything I’ve seen before. Where can I learn more?
- minimaxir 7y agoIt's nothing too unusual outside what's stated in the docs: https://ggplot2.tidyverse.org/reference/scale_hue.html https://ggplot2.tidyverse.org/reference/scale_hue.html This is the first time I've used the start and direction parameters, though.