Polar coordinates

Intermediate Data Visualization with ggplot2

Rick Scavetta

Founder, Scavetta Academy

Projections control perception

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

Intermediate Data Visualization with ggplot2

Projections control perception

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

Intermediate Data Visualization with ggplot2

A preview of map projections

The Mercator Projection

The Conic Projection

Intermediate Data Visualization with ggplot2

Polar coordinates

  • Cartesian (2d)
    • Orthogonal x and y-axes.
  • Maps
    • Many projections, see next course
  • Polar
    • Transformed Cartesian space
Intermediate Data Visualization with ggplot2

coord_polar()

p + coord_fixed()

p + coord_polar()

Intermediate Data Visualization with ggplot2

coord_polar(theta = "y")

p + coord_fixed()

p + coord_polar(theta = "y")

Intermediate Data Visualization with ggplot2

Let's practice!

Intermediate Data Visualization with ggplot2

Preparing Video For Download...