1. Why use data visualizations?

A quick motivation to learn data visualization: throughout this program and your academic journey you learn how to look at data and analyze it. Often, your first look at data involves simple statistics. But those numbers don’t show the full story, consider Anscombe’s Quartet, 4 data sets with the same statistical properties… but very different trends. The graphs immediately show us these trends.

/viz-intro
/viz-intro

So, why visualization?

/viz-intro
/viz-intro
/viz-intro
/viz-intro
/viz-intro

Visualization existed in various forms throughout history, however, some of the first statistical charts (like line and bar charts) were first seen in 1786, when William Playfair, a politician, created them to illustrate the policies he was promoting. Other notable occurrences of historical visualization innovation are Dr. John Snow’s cholera map and Florence Nightingale’s coxcomb diagram illustrating the importance of sanitation. Here we will look at Charles Joseph Minard’s 1861 graphic showing Napoleon’s losses during his 1812 march to and from Moscow.

/viz-intro

The figure successfully shows 5 pieces of information in one image:

Minard’s chart conveys all that information while maintaining a simple and uncluttered aesthetic and is a great example of good design in visualization.

Much like there is good design, we need to beware of bad design. Bad visualization can lead to errors both to you and to the people with whom you wish to share your science.

For example, the 3D pie chart below is tilted which skews the way we perceive the sections, making the green (29%) look bigger than the blue (35%) segment.

/viz-intro

Often, people show bar charts using a y-axis that doesn’t start at 0. This is often done to focus on “the more interesting part”, but it effectively skews the perceived magnitude of the data shown.

/viz-intro

Some chart deception is even more blatant. Can you see what is wrong with the chart below?

/viz-intro

We will talk more about making good visualizations in the next section.