Learn to visualize your data like an expert with these practical how-tos for presentation, analysis, and understanding.
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.
The combination of a time series chart and a scatter plot lets you compare two variables along with temporal changes.
Maybe you want to make spatial comparisons over time or across categories. Organized small maps might do the trick.
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.
Make a lot of charts at once, line them up in a grid, and you can make quick comparisons across several categories.
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.
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.
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.
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.
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.
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.
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.
When base graphics and existing packages don't do it for you, turn to low-level graphics functions to make what you want.