About 592 results
Open links in new tab
  1. The R Graph Gallery – Help and inspiration for R charts

    Featuring over 400 examples, our collection is meticulously organized into nearly 50 chart types, following the data-to-viz classification. Each example comes with reproducible code and a detailed …

  2. All Chart | the R Graph Gallery

    Most basic barplot The most basic barplot you can do with geom_bar(), using default settings. Custom color A few examples showing how to custom barplot color. Horizontal barchart It makes sense to …

  3. Basic barplot with ggplot2 - The R Graph Gallery

    This post explains how to draw barplots with R and ggplot2, using the geom_bar () function. It provides several reproducible examples with explanation and R code.

  4. Barplot | the R Graph Gallery

    How to build a barchart with R: from the most basic example to highly customized examples using ggplot2 and base R.

  5. Line chart with R and ggplot2 - The R Graph Gallery

    This post is a step by step introduction to line chart with R and ggplot2. It provides several reproducible examples with explanation and R code.

  6. Scatterplot | the R Graph Gallery

    Many scatterplot examples made with R and ggplot2, from very basic to highly customized

  7. Boxplot - The R Graph Gallery

    Changing group order in a boxplot is a crucial step. Learn why and discover 3 methods to do so. Several examples showing most usual color customization: uniform, discrete, using colorBrewer, Viridis and …

  8. Basic histogram with ggplot2 - The R Graph Gallery

    How to build a basic histogram with R and ggplot2: basic examples with explanations and code.

  9. ggplot2 heatmap - The R Graph Gallery

    This document provides several examples of heatmaps built with R and ggplot2. It describes the main customization you can apply, with explanation and reproducible code.

  10. Grouped, stacked and percent stacked barplot in ggplot2

    This post explains how to build grouped, stacked and percent stacked barplot with R and ggplot2. It provides a reproducible example with code for each type.