Code librarySample
ggplot2
Posit and the R community
R’s implementation of the grammar of graphics: build any chart by layering data, aesthetic mappings and geometries.
Licence
Open source
Built by
Developers
Languages
R
Runs on
R code, Quarto and R Markdown
Scores
Out of 5. The tick marks the average for code libraries in the library.
- Ease of use
- 3
- Visual control
- 5
- Interactivity
- 1
- Sharing
- 2
- Governance
- 1
- Low cost
- 5
- Data scale
- 3
Strengths
- A consistent grammar that scales from simple to complex charts
- Faceting makes small multiples trivial
- A rich ecosystem of extensions
Limitations
- R only
- Static by default; interactivity comes from extensions
- The grammar takes time to learn
Best for
- Statistical graphics and research
- Small multiples
Other code libraries
Matplotlib
Open-source community (NumFOCUS)
The foundational Python plotting library: low-level control over every element of a figure, for static, publication-quality output.
Open sourcePython

seaborn
Open-source community
A statistical plotting library on top of Matplotlib: one call for distributions, regressions and grouped comparisons from a pandas DataFrame.
Open sourcePython
Plotly
Plotly
Interactive, web-based charts from Python, R or JavaScript, with Dash for turning them into complete analytical apps.
Open sourcePythonR