9 Layers

Learning objectives

  • We are going to learn about the layered grammar of graphics, including:

    • using aesthetics and geometries to build plots;

    • using facets for splitting the plot into subsets;

    • using statistics for understanding how geoms are calculated;

    • making position adjustments when geoms might otherwise overlap; and

    • how coordinate systems allow us to fundamentally change what x and y mean.