Tutorials (Members can download these tutorials and the code as an ebook.)

How to Make an Animated, Self-Sorting List

How to Make an Animated, Self-Sorting List

You have a list of things that can be ordered by different values. Let them sort themselves out.
How to make dot density maps

How to Make Dot Density Maps in R

Choropleth maps are useful to show values for areas on a map, but they can be limited. In contrast, dot density maps are sometimes better for showing distributions within regions.
Interactive treemap

How to Make an Interactive Treemap

Treemaps are useful to view and explore hierarchical data. Interaction can help you look at the data in greater detail.
How to Make Gridded Maps

How to Make Gridded Maps

For when your geographic data is evenly spread rather than aggregated by government boundaries.
Downloading Email Metadata

Downloading Your Email Metadata

Email provides a window into who we interact with and what we do. This tutorial describes how to get that data in the format you want.
Detecting and Plotting Sequence Changes

Detecting and Plotting Sequence Changes

Change detection for a time series can be tricky, but guess what, there's an R package for that. Then show the results in a custom plot.
How to make density maps

How to Make Smoothed Density Maps in R

Too many points to plot often means obscured patterns in the clutter. Density maps offer a smooth alternative.
How to Read Histograms and Use Them in R

How to Read and Use Histograms

The chart type often goes overlooked because people don't understand them. Maybe this will help.
How to Map Paths in R

How to Map Geographic Paths in R

As people and things move through a place, it can be useful to see their connected paths instead of just individual points.
The Baseline

The Baseline and Working with Time Series in R

A big part of statistics is comparisons, and perhaps more importantly, to figure out what to compare things to. Perspective changes with the baseline.
Working with text

How to Display Text in R

Text can provide much needed context to traditional visual cues and can be used as a visual cue itself in some cases.
Line maps, Google Places API, and R

Working with Line Maps, the Google Places API, and R

A frequent challenge of visualization is behind the scenes, to get the data and to mold it into the format you need. Do that. Then map.
How to Make a Connected Scatter Plot

How to Make a Connected Scatter Plot

The combination of a time series chart and a scatter plot lets you compare two variables along with temporal changes.
Starting after started

Getting started with visualization after getting started with visualization

Here's where to go next once you've covered the basics of visualization. When it's time to actually start making things.
Small maps and grids

Small Maps and Grids

Maybe you want to make spatial comparisons over time or across categories. Organized small maps might do the trick.
How to make a slopegraph

How to Make Slopegraphs in R

Also known as specialized or custom line charts. Figure out how to draw lines with the right spacing and pointed in the right direction, and you've got your slopegraphs.
Small Multiples in R

Small Multiples in R

Make a lot of charts at once, line them up in a grid, and you can make quick comparisons across several categories.
01-start-finish

A Survival Guide to Starting and Finishing a PhD

Tips on making it through, what I would tell my previous self going in, and advice on taking advantage of the unique opportunity that is graduate school.
Animations in R

How to Make an Animated Growth Map in R

Although time series plots and small multiples can go a long way, animation can make your data feel more real and relatable. Here is how to do it in R via the animated GIF route.
Using transparency

Using Transparency in R to Improve Clarity

When you plot a lot of data at once, points and lines can obscure others and hide patterns. Transparency can help reveal what is really there.
How to Animate Transitions Between Multiple Charts

How to Animate Transitions Between Multiple Charts

Animated transitioning between chart types can add depth to your data display. Find out how to achieve this effect using JavaScript and D3.js.
Getting started with charts in R

Getting Started with Charts in R

You get a lot of bang for the buck with R, charting-wise, but it can be confusing at first, especially if you've never written code. Here are some examples to get started.
Interactive choropleth map

How to Make an Interactive Choropleth Map

When presented with a static graphic, it can be useful to see specific values after you see overall patterns. This tutorial shows you how to add simple interactions to a choropleth map so you can get specifics for regions.
Points per shot on a court

More on Making Heat Maps in R

You saw how to make basic heat maps a while back, but you might want more flexibility for a specific data set. Once you understand the components of a heat map, the rest is straightforward.
Diffusion-based Cartogram

Mapping with Diffusion-based Cartograms

Sometimes these cartograms can distort areas beyond recognition, but they can also provide a better visual representation for a region with a wide range of subregions. At the least, they're fun to look at.
Circular Network Layout

How to Make an Interactive Network Visualization

Interactive network visualizations make it easy to rearrange, filter, and explore your connected data. Learn how to make one using D3 and JavaScript.
From Area Chart to Streamgraph

A Variety of Area Charts with R

From the basic area chart, to the stacked version, to the streamgraph, the geometry is similar. Once you know how to do one, you can do them all.
Colored sparklines

How to Draw in R and Make Custom Plots

When base graphics and existing packages don't do it for you, turn to low-level graphics functions to make what you want.
How to visualize distributions

How to Visualize and Compare Distributions

Single data points from a large dataset can make it more relatable, but those individual numbers don't mean much without something to compare to. That's where distributions come in.
How to Make a Sankey Diagram

How to Make a Sankey Diagram to Show Flow

These tend to be made ad hoc and are usually pieced together manually, which takes a lot of time. Here's a way to lay the framework in R, so you don't have to do all the work yourself.
Time series with highlight

Interactive Time Series Chart with Filters

Time series charts can easily turn to spaghetti when you have multiple categories. By highlighting the ones of interest, you can direct focus and allow comparisons.
Calendar heatmaps made easy

Calendar Heatmaps to Visualize Time Series Data

The familiar but underused layout is a good way to look at patterns over time. This tutorial gives you an easy way to make them and guides you through the code so you can adapt it to your needs.
R plot edited in Inkscape

How to Hand Edit R Plots in Inkscape

You can control graph elements with code as you output things from R, but sometimes it is easier to do it manually. Inkscape, an Open Source alternative to Adobe Illustrator, might be what you are looking for.
Contour plots

How to Make a Contour Map

Filled contour plots are useful for looking at density across two dimensions and are often used to visualize geographic data. It's straightforward to make them in R — once you get your data in the right format, that is.
Colors in R

Using Color Scales and Palettes in R

Color can drastically change how a chart reads and what you see in your data, so don't leave it up to chance with defaults.
Area charts

Build Interactive Area Charts with Filters

When you have several time series over many categories, it can be useful to show them separately rather than put it all in one graph. This is one way to do it interactively with categorical filters.
Mapping connections with great circles

How to map connections with great circles

There are various ways to visualize connections, but one of the most intuitive and straightforward ways is to actually connect entities or objects with lines. And when it comes to geographic connections, great circles are a nice way to do this.
Crime Rates by State

How to Make Bubble Charts

Ever since Hans Rosling presented a motion chart to tell his story of the wealth and health of nations, there has been an affinity for proportional bubbles on an x-y axis. This tutorial is for the static version of the motion chart: the bubble chart.
How to visualize data with cartoonish faces

How to visualize data with cartoonish faces ala Chernoff

The goal of Chernoff faces is to show a bunch of variables at once via facial features like lips, eyes, and nose size. Most of the time there are better solutions, but the faces can be interesting to work with.
Loess Plot

How to: make a scatterplot with a smooth fitted line

Oftentimes, you'll want to fit a line to a bunch of data points. This tutorial will show you how to do that quickly and easily using open-source software, R.
Treemap

An Easy Way to Make a Treemap

If your data is a hierarchy, a treemap is a good way to show all the values at once and keep the structure in the visual. This is a quick way to make a treemap in R.
heatmap

How to Make a Heatmap – a Quick and Easy Solution

A heatmap is a literal way of visualizing a table of numbers, where you substitute the numbers with colored cells. This is a quick way to make one in R.
flare graph

How to Make an Interactive Area Graph with Flare

You've seen the NameExplorer from the Baby Name Wizard by Martin Wattenberg. It's an interactive area chart that lets you explore the popularity of names…
Unemployment choropleth

How to Make a US County Thematic Map Using Free Tools

There are about a million ways to make a choropleth map. The problem is that a lot of solutions require expensive software or have a high learning curve. It doesn't have to be that way.
Done graph

How to Make a Graph in Adobe Illustrator

You can use the vector-based software normally reserved for designers and artists to make and edit charts.
twitter_world

How to Make Your Own Twitter Bot – Python Implementation

Following up on my post last week about using Twitter to track eating and weight, some of you voiced some interest in creating your own…
Grabbing weather data

Grabbing Weather Underground Data with BeautifulSoup

Weather Underground is a useful site and a fun place for weather enthusiasts. WU has a bunch of weather data (current and historical) from established…
Copyright © 2007-2014 FlowingData. All rights reserved. Hosted by Linode.
7ads6x98y