Ggplot - Data

Ggplot Graphic Plot


Data in the context of Ggplot refers to the (source) data of the data frame.

The aesthetic method maps:

  • the data from the data frame (data)
  • to the data of the plot (an aesthetic).

See Ggplot - (aes|aesthetic) (plot parameter definition)


Data usually stay the same on a plot, you can store the default data frame with the below command:


Discover More
Ggplot Graphic Plot
GGplot - Layer (data + mapping + geom + stat + position)

Layer = data: The data frame (in a variable or a function, if null inherited) + mapping: Mapping data to geom properties (ie aesthetics) + geom : The geometric object to use display the data +...
Ggplot Scale Coordinate System
GGplot - Scale (Data Transformation)

Scales control the mapping between data and aesthetics, and control the display of the matching guide (axis or legend) Ex: Linear scaling of x and y axes (scales) See: scale_continuous, scale_discrete,...
Ggplot Graphic Plot
R - Ggplot

ggplot is a graphic library that follows the 0387245448grammar of graphics. charts are made of : layers that are made of: Data geometries: the graphical element...

Share this page:
Follow us:
Task Runner