Lab-6: These Roses have been Painted !!

The Grammar of Graphics in R

Author

Arvind V

Published

August 21, 2022

Modified

Invalid Date

Slides and Tutorials

R Tutorial   Slides Colour in R  Advanced Graphics

Introduction

Ahโ€ฆggplot ! All those wonderful pictures and graphs, that Alice might have relished!

Metaphors, aesthetics, geometriesโ€ฆand pictures !! ggplot seems to equate ravens to writing desks in its syntaxโ€ฆand out come graphs!!

And colours: Wes Anderson! Tim Burton! The Economistโ€ฆ and many others!!

References

  1. George Lakoff and Mark Johnson, Metaphors We Live By, https://www.youtube.com/watch?v=lYcQcwUfo8c

  2. Wickham and Grolemund, R for Data Science, ggplot chapter: https://r4ds.had.co.nz/data-visualisation.html

  3. CMDLineTips, 10 Tips to Customize Text Color, Font, Size in ggplot2 with element_text(), https://cmdlinetips.com/2021/05/tips-to-customize-text-color-font-size-in-ggplot2-with-element_text/

  4. CMDLineTips, How to write a simple custom ggplot theme from scratch, https://cmdlinetips.com/2022/05/how-to-write-a-simple-custom-ggplot-theme-from-scratch/

  5. Asha Hill @ mode.com, 12 Extensions to ggplot2 for More Powerful R Visualizations, https://mode.com/blog/r-ggplot-extension-packages/

  6. Emil Hvitfeldt, ggplot Trial and Error, https://www.emilhvitfeldt.com/post/2018-06-12-ggplot2-trial-and-error-us-trade-data/

Fun Stuff

  1. Yihan Wu, Mapping ggplot geoms and aesthetic parameters, ( An interactive view of which aesthetic parameters work with which ggplot geom!! ) https://www.yihanwu.ca/post/geoms-and-aesthetic-parameters/

  2. https://www.theartstory.org/artist/kandinsky-wassily/

Back to top