The R Graph Gallery





Welcome the R graph gallery, a collection of charts made with the R programming language. Hundreds of charts are displayed in several sections, always with their reproducible code available. The gallery makes a focus on the tidyverse and ggplot2. Feel free to suggest a chart or report a bug; any feedback is highly welcome. Stay in touch with the gallery by following it on Twitter or Github

Distribution


Violin
Density
Histogram
Boxplot
Ridgeline

Correlation


Scatter
Heatmap
Correlogram
Bubble
Connected scatter
Density 2d

Ranking


Barplot
Spider / Radar
Wordcloud
Parallel
Lollipop
Circular Barplot

Part of a whole


Grouped and Stacked barplot
Treemap
Doughnut
Pie chart
Dendrogram
Circular packing

Evolution


Line plot
Area
Stacked area
Streamchart
Time Series

Map


Map
Choropleth
Hexbin map
Cartogram
Connection
Bubble map

Flow


Chord diagram
Network
Sankey
Arc diagram
Edge bundling

General knowledge


Basics
Custom
Interactivity
Shape helpers
Caveats
Data art