Logotipo NIPE

Eventos

Research Training

Data Visualization with R

Guest speaker

Nelson Areal (NIPE - UMinho)

Local

Online

Date

Start29.03.2021 10:00End30.03.2021 18:00

Event summary

This course presents basic visualization principles, the characteristics of a good plot and how to create plots. It also instructs how to create plots for categorical and continuous variables, plots that display several variables simultaneously, adding layers such as summaries, create small multiples, annotate plots and create basic maps. The module uses ggplot2 package extensively. This package is based on the Grammar of Graphics, is very flexible and allows the user to control the resulting plot. This workshop displays as well examples of creating animations and adding interactivity to plots  using plotly.
The course assumes working knowledge of R, Rmarkown notebooks and the tidyr and dplyr packages.

  1. Basic visualization principles. What we should know, and what we should avoid.
  2. Introduction to ggplot2: core principles.
  3. Plotting categorical and continuous variables.
  4. Small multiples.
  5. Adding summaries.
  6. Annotating plots.
  7. Creating simple maps.

References:
— Healy, K. (2019). Data visualization: a practical introduction. Princeton University Press.
— Wickham, H. (2020). ggplot2: elegant graphics for data analysis. 3rd edition. https://ggplot2-book.org
— Wilkinson, L. (2005). The Grammar of Graphics. 2nd ed. Statistics and Computing. Springer.

The workshop took place on 29th and 30th March 2021, 10:00-12:00 and 16:00-18:00, by video-conference.