Tutorials

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 Time Series 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...
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

Most of us create graphs with actual graphing software. Maybe it's Microsoft Excel. Maybe it's R. Whatever it is though...
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...
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...
Copyright © 2007-2012 by FlowingData. Hosted by Media Temple.