Polar coordinates

Visualizzazione dei dati intermedia con ggplot2

Rick Scavetta

Founder, Scavetta Academy

Projections control perception

  • Cartesian (2d)
    • Orthogonal x and y-axes
    • Modify axis limits and aspect ratio

Visualizzazione dei dati intermedia con ggplot2

Projections control perception

  • Cartesian (2d)
    • Orthogonal x and y-axes
    • Modify axis limits and aspect ratio
  • Maps
    • Many possible projections
    • See next course

Visualizzazione dei dati intermedia con ggplot2

A preview of map projections

The Mercator Projection

The Conic Projection

Visualizzazione dei dati intermedia con ggplot2

Polar coordinates

  • Cartesian (2d)
    • Orthogonal x and y-axes.
  • Maps
    • Many projections, see next course
  • Polar
    • Transformed Cartesian space
Visualizzazione dei dati intermedia con ggplot2

coord_polar()

p + coord_fixed()

p + coord_polar()

Visualizzazione dei dati intermedia con ggplot2

coord_polar(theta = "y")

p + coord_fixed()

p + coord_polar(theta = "y")

Visualizzazione dei dati intermedia con ggplot2

Let's practice!

Visualizzazione dei dati intermedia con ggplot2

Preparing Video For Download...