How do we transform and scale data? How can we apply scalings to data, and what does this have to do with color?
Transformations and Colors
This week, we covered how transformations work, how colors work, and how we can choose transforms and colors to better suit our data.
References and Reading List
- Pandas vs. Matplotlib
- RGB color triplets
- VAD, Ch. 10: Map Color and Other Channels
- FDV, Ch. 4: Color Scales
- VAD, Ch. 5: Marks and Channels
- Perception in Visualization
- Palettable Docs
Quick Reference for Matplotlib
Developed and available at github.com/matplotlib/cheatsheets
Lectures
How do colors work? What are the different ways we can map colors to values? What should we keep in mind when doing this?
Examples
Matplotlib specifics - (download)
This goes over some very specific aspects of matplotlib, and how to apply data transformations to patches and annotations, as well as modifying properties of the plot.