# Tutorials

Learn to visualize your data like an expert with these practical how-tos for presentation, analysis, and understanding.

#### How to Make a Custom Stacked Area Chart in R

You could use a package, but then you couldn't customize every single element, and where's the fun in that?

#### How to Make Print-ready Graphics in R, with ggplot2

You don't have to use illustration software to polish your graphics. If keeping everything in R is your thing, this tutorial is for you.

#### How to Use Packed Circles in R

Adjust coordinates, geometries, and encodings with packed circles to make various types of charts.

#### How to Make Alluvial Diagrams

Here's how to do it in R from start to finish, plus editing in illustration software. Make design choices and trade-offs for more readable charts.

#### How to Make Ternary Plots in R, with ggplot2

When you want to compare between three parts of your data, ternary plots might be a good option. Here is how to make them.

#### How to Make Small Multiples in Excel

Also known as trellis charts, lattice chart, or whatever you want to call them, the technique lets you compare several categories in one view.

#### How to Make an Animated Beeswarm Chart

Beeswarm charts are useful to highlight individual categories or entities. Animating them can help highlight change over time.

#### How to Make Marimekko Charts in Excel

Marimekko charts, or mosaic plots, allow you to compare categories over two quantitative variables.

#### How to Make Symbol-based Glyph Charts, with R Examples

Using geometric shapes as an encoding can provide another dimension to your charts.

#### How to Make a Heatmap in Excel

Heatmaps quickly translate data tables into a visual form, making them a great tool to explore a new dataset.

#### How to Untangle a Spaghetti Line Chart (with R Examples)

Put multiple time series lines on the same plot, and you quickly end up with a mess. Here are practical ways to clean it up.

#### How to Make a Customized Excess Mortality Chart in Excel

Show current evolution against expected historical variability and add one or more series that could account for the difference.

#### How to Make a Spiral Chart in R

Using a spiral might not be the best way to encode data. But here's how to do it anyway. Just in case.

#### How to Make Difference Charts in Excel

Also known as a bivariate area chart, the plot type focuses on the comparison between two time series.

#### How to Make Animated Histograms in R, with ggplot and gganimate

Make them move to show a shift in distributions over time.

#### How to Visualize Anomalies in Time Series Data in R, with ggplot

Quickly see what's below and above average through the noise and seasonal trends.

#### How to Flatten the Curve, a Social Distancing Simulation and Tutorial

Using R, we look at how your decreased interaction with others can help slow the spread of infectious diseases.

#### How to Make a Dynamic Multi-population Pyramid in Excel

Create better population pyramids that allow for improved comparisons between sexes and populations.

#### How to Visualize Hierarchical Graphs in R, with ggraph and tidygraph

Network graphs are a good way to find structure and relationships within hierarchical data. Here are several ways to do it.

#### How to Make Line Charts in Python, with Pandas and Matplotlib

The chart type can be used to show patterns over time and relationships between variables. This is a comprehensive introduction to making them using two common libraries.

#### How to Make a Grid Map with Histograms in R, with ggplot

Layout multiple charts in a single view. Then adjust the scales appropriately for maximum comparability and a unified graphic.

#### How to Make Interactive Frequency Trails with D3.js

Layering time series data or distributions with this method can change the feel and aesthetic versus a multi-line chart or small multiples. In some cases, frequency trails let you show more in less space.

#### How to Draw Maps with Hatching Lines in R

Fill areas with varying line density to give more or less visual attention. With geographic maps, the technique is especially useful to adjust for population density.

#### How to Make a Bump Chart in R, with ggplot

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