gg): We were introduced to the Grammar of Graphics, a systematic way to describe and build plots.ggplot2 Components: We learned that ggplot2 is based on the idea that you can build any plot from the same components: a data set, a coordinate system, and geoms (visual marks that represent data points).


This explains why a majority of the rectangles are green, and why we see a sudden shift towards blue at the end of the scale.


If we want to operate with color as it relates to the human vision, we need a color space built on these human measurements, and that is what perceptually uniform color spaces are.




Search on internet “the misuse of colour in science communication”
Go to the Figue 6 of the paper
Group 1: Top half of the figure
Group 2: Bottom half of the figure
Discuss the flowchart
Discuss about the color class type and combination for all the figures we have made in Exercises
ggsave(): The easiest way to save a plot.theme(): The powerhouse for customizing the non-data elements of your plot.ggplotlyggplotly(): A function from the plotly package that transforms a ggplot object into an interactive plot.ggplotlyPublication ready figures with R