Python Data Visualization Transcripts
Chapter: Visualization Concepts
Lecture: Colors
Login or
purchase this course
to watch this video and the rest of the course contents.
0:00
A very important aesthetic that we talked about earlier is color.
0:05
Sometimes it's referred to as Hue and some of the libraries will be discussing. When we think about color, it's common to have a discrete color scale.
0:14
In this case we have a categorical scale with a small number of swatches that are chosen to be representative of some sort of data set.
0:25
We can also have a sequential discrete scale which goes from either dark to light or light to dark and then also a diverging scale,
0:35
which means on each ends, it tends to be darker and as you get towards the middle, the colors converge in are harder to distinguish.
0:43
A continuous color scale. On the other end has a nearly infinite number of colors It can also be sequential,
0:50
which means it goes from dark to light or light to dark. It can also be diverging similar to the discrete color scale that we talked about where
0:58
the middle is harder to distinguish but as the edges you can start to see more
1:03
differentiation. One other item I want to mention as we talk about colors and start
1:11
to apply this towards our visualization is to keep in mind that a large percentage of
1:15
the population including yours truly do have some version of color deficient vision and that you
1:21
can use these tools to choose pallets that will work well for people that have certain
1:27
types of color blindness. So I encourage you to keep that in mind as you start to choose colors for your visualiztion.