Skip to content

ggplot2

Data visualization library

ggplot2 is an R package for declarative data visualization based on the Grammar of Graphics. Plots combine data, aesthetic mappings and graphical layers. Start with a small dataset and a scatter plot, then add a grouping, a statistical layer or facets to explore how the same data can be represented.

Languages: R