Data visualization studio

Make data visible.

Learn publication-ready static graphics with ggplot2 and browser-based interaction with Plotly—from the first mapping or trace to polished, reproducible figures ready for analysis, teaching, and sharing.

A workflow you can reuse.

Move from understanding the data to choosing an honest visual form, then refine the chart for its audience.

  1. 01

    Frame the question

    Confirm the unit of analysis, variable types, missingness, and the comparison the reader must make.

    Start with the grammar
  2. 02

    Choose the geometry

    Match relationships, distributions, counts, time series, and grouped comparisons to suitable geoms.

    Explore common geoms
  3. 03

    Make comparisons easy

    Use scales, facets, coordinates, and annotations to reveal the intended pattern without distortion.

    Refine the mapping
  4. 04

    Reuse and share

    Wrap recurring plots in functions, apply a consistent theme, and export at a deliberate size.

    Prepare the final figure

Choose a tutorial.

Choose one of two courses. The ggplot2 tutorial contains 15 sections and 20 rendered charts; the Plotly tutorial contains 18 sections and 23 interactive figures.

01
15 sections20 charts

Common ggplot2 Methods

Static graphics

A runnable guide to mappings, geoms, statistical transformations, positions, scales, facets, annotations, reusable themes, plotting functions, and export.

Grammar of graphics · distributions · trends · scales · facets · themes · export

02
18 sections23 interactive figures

Plotly for R

Interactive graphics

A runnable guide to traces, mappings, hover, layout, subplots, Crosstalk, animation, maps, Shiny events, HTML publishing, and WebGL performance.

plot_ly · ggplotly · hover · subplot · Crosstalk · animation · maps · export

From raw values to a clear story.

Use the library by topic when you need a quick answer, or follow the full tutorial for a connected understanding.

geom_point()

Relationships

Scatterplots, overplotting, grouping, smooths, and regression lines.

geom_histogram()

Distributions

Histograms, densities, boxplots, violins, and meaningful bin widths.

geom_col()

Comparisons

Counts versus summaries, ordering, stacking, dodging, and proportions.

geom_line()

Change over time

Dates, time-series grouping, reference lines, and readable axis labels.

ggplotly()

Interactive conversion

Turn familiar ggplot2 figures into browser widgets with deliberate tooltips and controls.

plot_ly()

Interactive composition

Build native traces, linked subplots, animations, maps, and shareable HTML.

Learn the decision—not just the command.

The tutorials connect every ggplot2 layer and Plotly trace to a comparison task, explain what the chart computes, and highlight choices that can change the reader's interpretation.

Runnable by defaultBuilt-in datasets, fixed seeds, and complete code examples.
Modern R graphicsCurrent ggplot2 syntax and practical Plotly APIs for interactive HTML.
Consistent examplesBoth tutorials use built-in datasets and the same conventions, so skills carry over.