Tutorials

Practical how-tos on how to make any chart and apply methods to your own data.

How to Make Baseline Charts in R

By shifting the baseline to a reference point, you can focus a line chart on relative change, which can improve the visibility of smaller categories.

Getting Started with D3.js

Learn how to build a custom visualization using D3.js and get acquainted with the popular JavaScript library.

How to Make a Moving Bubble Chart, Based on a Dataset

Ooo, bubbles... It's not the most visually efficient method, but it's one of the more visually satisfying ones.

How to Make a Bump Chart in R

Visualize rankings over time instead of absolute values to focus on order instead of the magnitude of change.

How to Make Dot Timelines in R

For when you want to show the occurrence of events over time.

How to Make a Mosaic Plot in R

Also known as a Marimekko diagram, the mosaic plot lets you compare multiple qualitative variables at once. They can be useful, sometimes.

How to Make Animated (GIF) Heatmaps in R

Using color as the visual encoding, show changes over time in two dimensions.

How to Make an Interactive Map of Geographic Paths

With latitude and longitude coordinates, there are a number of ways to map geographic data using D3.js and Leaflet.

How I Made That: Animated Difference Charts in R

A combination of a bivariate area chart, animation, and a population pyramid, with a sprinkling of detail and annotation.