Data Visualization and Infographics
Transcript
All right, good morning! I'm Betsy Mason. I'm a freelance journalist based here in the Bay Area. I'm also a board member of the Council for the Advancement of Science Writing, so very happy to be able to welcome you all here to San Francisco and the World Conference. I'm also very pleased to introduce our plenary speaker this morning, Alberto Cairo. He's a professor at the University of Miami, where he's the Knight Chair in Visual Journalism and director of the visualization program at the Center for Computational Science. Before landing in academia, he ran the infographics and multimedia operations for the magazine publisher Editora Globo in Brazil. And before that he founded the interactive infographics department at El Mundo newspaper in Spain. And during his tenure there, his team won more international infographics awards than any other news organization worldwide.
He's written two books about infographics and visualization, “The Functional Art” and “The Truthful Art.” He's taught classes and workshops in more than 20 countries over the last decade, and he continues to be a working journalist and a freelance designer for several companies. Somehow on top of all of this, he's recently launched what he calls the “Trumpery Tour,” where he travels the world explaining how to spot and fight against fake data and visualizations. You can find the tour schedule and his website at thefunctionalart.com. Please welcome Alberto Cairo. Thank you.
Well, good morning everyone, thank you for being here. It's an honor to talk to you today about graphics and visualization and data. My purpose today is to convince you that doing visualization and doing infographics is within reach of anybody. We tend to believe —journalists who write tend to believe that creating visualization is hard, that it involves using advanced coding and programming languages. My purpose today is to convince you that if you keep just in mind a few principles,
and you pay attention to a few free tools that you can find online, you can start creating very effective visualizations that you can start including in your reporting, or using to explore data and to discover things in the data. I have been teaching and doing graphics all my life, but you mentioned before my tenure at El Mundo in Spain. I was born in Spain and I began my career in Spain back in 1997, producing mainly what we call in the news industry “infographics," which are pictorial
representations of information— visual explanations of how a spaceship works, right? And you do a 3D model of the spaceship, and then you animate it and explain the different components of that spaceship. I used to produce that kind of work. More recently, I started becoming more interested in another branch of the visual representation of information called data visualization, which consists of transforming numbers into graphs, maps, charts, etc., to extract meaning from those numbers.
And that is what I will be focusing on today—data visualization. I am going to talk a little bit about tools and principles—about both. I'm going to quickly demonstrate a very easy-to-use data visualization tool in just one minute, and then later on I will talk about some principles that can guide your visualization work from this point on, if I am successful at convincing you that all of you are able to produce visualizations. But obviously it is not possible to cover everything you possibly want or need to learn about visualization in just one hour. Therefore, something that I'm going to do at the end of the presentation, and I'm going to do it live, is that I'm going to tweet that. When that does, the tweet that is ready on my Twitter account to be sent at the end of the presentation with all the hashtags pertaining to this conference. On that tweet,
I will put—that's my twitter account, Alberto Cairo. Even if you're not on Twitter, you can still see it. On that tweet, I will put the link— I’ll put a link to these slides, the slides that I'm using today, so you can access all the projects and examples that I will be showing, and I will also link to a Dropbox folder in which I have put several extra reading materials that expand on the contents and the principles that I will be explaining today. So let's get started. Let's first of all define
visualization. In both my books, I use a very broad definition of visualization. For me, a visualization is any sort of visual representation, usually of data, that lets you explore those data, lets you extract meaning from those data, and lets you communicate those data in some way. The way that I explain this in my classes and lectures is that somehow, visualization gives you superpowers, because it lets you see beyond or behind the complexity of
information by transforming that information into graphic forms. Data visualization is based on the idea, on the principle of visual encoding. This is the most fundamental principle of data visualization. You begin with a bunch of numbers—22, 33, 44, whatever those numbers are, I'm listing several numbers down there—and then what you do is that you map those numbers onto properties of objects. So for instance, you begin with those five numbers, and then you get a bunch of bars, and you vary the length or the height of those bars in proportion to the numbers that you are representing. You can also vary the position of different objects over common axes. You can also vary the size of different objects according to the numbers that are being represented. You can use the area, for example, of bubbles to represent data. You can use angles, like in a pie chart, to represent the
proportions that you are intending to communicate. You can use line weight. You can use shade of color, for example. In data maps, we tend to use shade of color to represent the data. So all these are methods of encoding. Now, how to choose? Later on I will give you a couple of ideas of how you can choose the most appropriate method of representation depending on what you want to show. But just to give you a specific example of the use of data visualization, which is pretty famous probably among this audience. Let's suppose, for example, that you have a huge database of global temperatures from the year 1000 up to the year 2000, measured in Celsius degrees, and the database, besides showing you the actual records of global temperatures, you also have the margin of error in there, the standard deviations of the data,
etc. So you have this huge data set, you take a look at it on the Excel spreadsheet, and you see nothing. If you're a normal human being like me, a normal journalist, you will not be able to extract any meaning from those data, right? But what about if you grab all those data, and you map those numbers onto spatial properties of objects? For example, you transform those records of global temperatures from the year 1000 up to the year 2000 into some sort of line chart.
Suddenly, you will have a very small chart that will condense all those data and will show you the reality that hid before behind all those data. This chart is commonly called the “hockey stick chart,” created in the years 1998 and 1999 by a group of environmental scientists. For example, Professor Michael Mann, who has a wonderful book about the chart and all the controversy around it, titled “The Hockey Stick and the Climate Wars.” I believe that that's the title of the book. Anyway, so the chart is showing you—it's very, very simple to understand. On the x-axis you have years, on the y-axis you have temperatures in Celsius degrees, in comparison to the average of the middle of the 20th century, so that's the zero point. So whatever is up, it means that is above that average, or whatever is down is below the average. And obviously, what you can— and then the blue line is the actual
estimates of global temperatures. The black line is, so to speak, the overall trend of the data, and then the gray area behind is the level of uncertainty of the data, right? So year by year, you can notice immediately that this is a wonder—a wonderful feature of data visualization— is that a feature that was hidden before when you saw this big spreadsheet, is that from the year 1000 up to the year 1900 or something like that, global temperatures stayed below that average from the 20th century.
But then once we get to the beginning of the 20th century, because of CO2 emissions and an increasing use of a fossil fuels, etc., etc., global temperature started spiking up, creating that shape of a hockey stick, right? So all the information that we had before in a huge spreadsheet that no normal being can understand—once you map it visually, then you can start seeing trends and patterns in the data, and that's a whole purpose of data visualization:
to let us extract trends and patterns in the data. Now, data visualization is becoming mainstream, meaning that more and more people are starting to use it, that it's becoming really popular in the media, etc., for many different reasons. I'm going to show you why—the different reasons why I believe that more and more people are embracing it. Obviously I'm very happy that that is happening because I teach visualization. So, well, the first reason, I believe, is the role of pioneers, people who are—who popularized the use of data visualization among the general public. One example would be Professor Hans Rosling, who sadly passed away a few months ago. Hans Rosling used to be a professor of global health in the Karolinska Institute in Sweden, and in my—his website is gapminder.org, and I would encourage you all to visit his website when you have the chance, and take a look at the many
lectures that he delivered throughout the years in which he combined a very enthusiastic style of speech or speaking with the use of data visualizations. He was a wonderful, wonderful, wonderful, presenter. He was always using graphics and always using data. And he became really, really famous after he gave a TED talk in 2006, and he become a global, global celebrity. Another factor that also contributes, I believe, to the popularization of data visualization is the increased use in the media. So newspapers, magazines, news organizations such as The Wall Street Journal, the New York Times, The Washington Post, the LA Times and so on and so forth. Vox.com, FiveThirtyEight—all these organizations are using data visualization more and more, and it is—it has been proven that in many cases, some of the stories that—some of the most popular stories that some of these organizations have published online in the past decade or so
are actually data visualizations. The public really likes graphics if they are well done, well designed, and they are beautifully presented. Data visualization is also increasingly recognized as a part—as a core part—of journalism, and it has started winning even Pulitzer awards. So I believe that it was in 2015 the Washington Post, for example, won a Pulitzer award thanks to a data visualization showing you how many people died because of enduring police shootings, right?
Another Pulitzer award also given to a data visualization went more locally in Florida—I live in Miami—went to the Tampa Bay Times, which won a Pulitzer award, I believe, for public service thanks to an amazing project called “Failure Factories,” which talks about how certain school districts in the Tampa area are becoming increasingly racially segregated, and as a result of that the performance of some of these, the school performance of some of these
districts is also going down. And most of the project, a core part of the project, is a wonderful data visualization that the Tampa Bay Times created. Now, when we see all these examples in the media—when you see all these examples in the media, all of them look very complex, they look very sophisticated. In many cases, they are created using programming tools, right? So in many cases most of all of these projects are done, for example, with HTML, CSS, JavaScript, a library—a JavaScript library called D3. All these tools have a slightly steep learning curve, right? And some people believe that that's basically a hurdle, that it's a wall that impedes you from beginning to do data visualization and incorporate it into your reporting or to your stories. And what I like to point out during my classes and during my talks is that certainly, if you learn how to code,
that's wonderful. If you learn how to how to use JavaScript, or I don't know, the R programming language, which is a programming language that I use to explore data— all that is wonderful. But that comes after you do something else, which is to begin playing with tools that enable you to create data visualization very quickly and very easily, and experimenting with them. And then later on, then you can learn Javascript and D3 and all that stuff. But the first step is to get familiarized, to get acquainted with some of these tools. Therefore, right after the presentation when you have access to all these slides, this slide links to a series of tutorials, video tutorials, that I have recorded throughout the years, teaching how to use some of these tools. All the tutorials that you will find through that link are completely free.
They—those are the tutorials that I use in my own classes at the University of Miami to teach students, for example, how to use basic Excel, right, how to do a pivot table in Excel, something like that. Excel is not free, obviously, but it's widely available. And then I teach tools such as iNZight, which is a wonderful data visualization tool for data exploration. That one is completely free and open source. I have tutorials about Quantum GIS (QGIS), which is a mapping tool that is also free and open-source. Tutorials about Adobe Illustrator, which is not a free tool, but is widely available in newsrooms. Every single designer I know of uses Adobe Illustrator for one purpose or another. So basically, I teach you in those free tutorials how to use some of these tools. And I guarantee that with most of them it doesn't take more than one hour and a couple of hours to start grasping
how it works, and how you can start incorporating the results into your own reporting. Now, there is one in particular that can be demonstrated in just a couple of minutes, a tool—a free tool called RAW, or RAWgraphs, that you can find online. This works in the browser. This is a tool that was created by an Italian visualization lab in the Politecnico di Milano, and they made it freely available for everybody, for all of you. I'm going to just demonstrate very quickly how RAW works, just to show you how easy it is to create a simple visualization. So this is RAW, alright? And once you click on “create a chart,” it will open up this window in which—this is completely idiot-proof because it says “copy and paste the data here.” Okay,
let's do that. So I have an Excel spreadsheet over here, this Excel spreadsheet over here. These are tons of different metrics from all countries in the world, things such as life expectancy, and children per woman, GDP per capita— tons of different metrics downloaded from the World Bank. So I'm going to get all this data, copy all of it, go to RAW, and I'm going to paste it here. You can also upload the file if you want, right? When I'm going to paste the the data in there, it's going to process the data. Once it finishes, you will get a green light saying “ready to go.” So let's do something. I'm going to scroll down. I said alright, so I am going to see whether there is a relationship between, for example, I don't know, children per woman and child mortality, country by country. Right, so I'm going to do a scatterplot. Scatterplot is a great way of showing the relationship between two variables. I'm going to scroll down,
I have already selected the scatterplot, although you can see that you can create tons of different kinds of graphs—pie charts, line charts, scatterplots, bubble charts—you can create tons of different kinds of visualizations with RAW. And over here, RAW is telling you “map your dimensions,” which translated to common language means “drop the variables here.” Alright? So I'm going to say: Alright, so let me see if I can find over here “children per woman.” So I'm going to the “children per woman,” and put “children per woman” on the x-axis. Then I'm going to get “infant mortality,” which is over here, and I'm going to drop “infant mortality” over here. And then I'm going to scroll down just to take a quick look at the results. So you can see that there's a scatterplot in there already showing that basically there is a relationship, right? The bigger the child mortality, the bigger the number of children per woman, right?
But the chart doesn't look great so far. Let's do something else with it. So we can do more things. For example, we could change the size of each one of these bubbles according to the population of each one of these countries. So I'm going to do that. I'm going to scroll up and try to find “population total,” which is over here. Let me see if I can see it over there. “Population total” is this one over here. I'm going to just drag it over here, “size,” and I'm going to scroll down and see what it has done. So it has to scale the bubbles according to the population of each one of these countries. Right? Now, let's do something else. I also have another variable called “region,” which is similar to continent. It's not the same, I don't have the continents here, but I have the region, like South Asia, North Asia and so on and so forth. I'm going to drop the region on
color because I want each one of those bubbles to be colored according to the region they belong to, right. So I'm going to drop it over here. And let's scroll down and see what happens. Each one of them has been colored according to the region they belong to. This is the color scheme, okay. This is the legend. And we could do more things, right? I could go over here and say “alright, let's label the countries.” That's going to make the graphic look a little bit messy, but it may be helpful if you want to spot specific countries and then remove the labels, right? So I'm going to drop “countries” on “label,” and then I want to scroll down. And all the labels are going to be positioned next to the corresponding bubble. Now, the wonderful thing— I'm going to remove the labels for now because it's a little bit messy— now, the wonderful thing about tools like RAW is that once you have finished, you can either download the results, right? as an SVG,
which is a vector file, so you can export it and then open it up in Adobe Illustrator or other many tools and style it further. Or if you don't want to do any of that, you can just style it in the tool, generate the HTML and SVG code, right? That's a little bit of jargon, but basically it generates code that you can copy and paste in your own website and the chart will appear within your own story. Boom, you have your first visualization in just one minute. How wonderful is that? So some of the tools that I explore and that I explain in those video tutorials that I have mentioned to you, are as easy as RAW. So the tools are not a problem, the tools are available out there if you want to get started. Okay, if you want to start exploring these things. But tools are not enough, and tools are just a portion of what we need to pay attention to if we want to become good at creating data visualizations.
So the second part, which is much more important than the tools themselves, is the principles that should guide the creation of any data visualization. So I'm going to spell out a little bit some of the principles that I follow and that I try to teach in my classes. I usually tell my students, that throughout my career, probably I have written more than 1,000 pages about principles of data visualization and stuff, right? Books and articles and blog posts, etc., etc. But you know, I am a journalist, I like to be concise, and I believe that it is possible to condense those thousands of pages into four principles. So let's talk about those four principles of data visualization. A good graphic—a good visualization— needs to be based on good data. That's the first principle. It sounds very obvious, but it is not.
I will show you a couple of examples of what I mean in just one second. The second principle is that a good visualization that you insert in any story needs to look good, alright? You should not just get Excel, create an Excel chart— don't do it, not doing any further styling—and then just copy and paste it in your story, because the default options of most software tools are really terrible. You need to change the style of that chart to make it look good. Charts need to look elegant. The same way that you pay attention at the style, your writing style when you write, we also need to pay attention at typography, color, composition, certain very basic rules of graphic design, whenever we do visualization. The second—sorry, the third principle is that a good graphic represents the data accurately. And the fourth principle is that a good graphic needs to show an amount of data that is enough for readers to figure out what's going on, right?
I usually—the last principle is my favorite one because I am obviously a journalist and I talk to journalists every day, and to graphic designers, and we journalists tend to believe that data visualization is all about simplification. Nobody likes to read any more. Let's simplify this data. Let's get these data and create a simple representation of data. I don't like to talk about simplification. I don't like to talk about how to simplify things. I like to talk about clarification. And in order to clarify, sometimes you need to increase the amount of data that you show rather than decrease the amount of data that you show. I will show you examples of the four principles. Let's get started. A good graphic is based on good data, right, and when we see a graphic in the media, for example, perhaps we should pay attention to where the data comes from, how the data was generated,
and what it is that is being measured. Betsy, at the beginning of the presentation, said that I'm doing a series of lectures throughout the—all over the country, titled “Visual Trumpery,” and I'm not going to explain where the title comes from, but it has nothing to do with politics, by the way. I'm not kidding about it, nothing to do with politics. But anyway, so in these talks I tried to explain to people these principles through very simple and basic examples and stories. So let me begin with a very simple example that illustrates this idea really well. A while ago, I saw a map in social media that I absolutely loved, and I immediately retweeted it. I shouldn't have done that because we should never retweet anything without verifying whether that map is showing the right information. It is this map over here, concentration of heavy metal bands in Europe, okay? So it's the number of heavy metal bands per million people all over Europe. Now,
I love this map because it actually represents something that I already know, which is that there is an inverse correlation between number of heavy metal bands and number of hours of daylight, country by country. So the darker a place gets, the more heavy metal bands you have. So if you go to Spain, for example, we have some heavy metal bands over there, which are actually quite good. But in Spain we have 10 percent the rate as in Finland, which is the heavy metal capital of the world. And not only that, actually—in Finland, you not only have tons of heavy metal bands, you also have the heaviest heavy metal bands. You have, like, you know, branches of heavy metal called “doom metal” and “death metal” and things like that, right? Things that I don't really enjoy that much. I like—I happen to like heavy metal and hard rock, but not to those extremes,
right? Anyway, so I saw the map, I loved it, it confirmed something that I already knew. I retweeted it. But then I thought twice. I said well, wait a second—is this counting the right thing? What is the source of the information? And is the source counting only heavy metal bands? Let me explain what I mean. So I—in just one second—so I went to the source. Fortunately, the creator of the map indicates what the source is—it's a website called Encyclopedia Metallum. So before going to the source, though, and verifying the data before retweeting the map again, I tried to think about the average, right?The most representative heavy metal band, right?—just to use that as an average. Just thinking about if all the bands in this data set are similar to this particular band that basically has all the quintessential features of a heavy metal band, then the data source is right. But then—if they are counting other kinds of bands, perhaps,
this is not a very reliable source. So it is useful before going to the source, at least it was for me, to try to imagine what is the most quintessential heavy metal band? Being here in America, probably you have bands like Metallica in mind, right? If you're from Europe and you are older, perhaps you remember Black Sabbath, for example, and bands like that. Well, I'm a little bit younger, so I grew up during the 1980s, and for me the most quintessential heavy metal band, the one that has all the features all of them that are usually related to heavy metal bands, is Judas Priest. I mean, Judas Priest has all that is metal about heavy metal. Everything. It's like the long hair—except the singer who's bald— but they all—the other guys in the band, they all have long hair. They have the leather jackets, the skinny leather pants, the—
and then obviously, they play— they have heavy guitars and thundering drums and the songs that they sing are super goofy in terms of lyrics, like the songs about some sort of demons and monsters and things like that, right? They don't sing that much, they scream a lot, so that's also very heavy metal. So it's like they have all these features that we commonly associate with heavy metal, right? So the way to think about the data source is that if all the bands that are counted in this data set are more similar than not to Judas Priest, then the source is reliable. That is the first step to verify any source, right? But being familiar with the academic and non-academic literature about heavy metal or having read books about the history of heavy metal, having read magazines about heavy metal in my life, etc., etc., I have seen other kinds of bands also being labeled as heavy metal. And that is not heavy metal.
So, Bon Jovi is a perfectly fine band. They have good songs and bad songs, good albums, bad albums, but it's certainly not heavy metal. But I have seen them labeled as heavy metal. So I went to the source, I checked for the presence or non-presence of some of these bands that I saw labeled as heavy metal. Bon Jovi's not there—great. I also checked for other bands that I have also seen being labeled as heavy metal, such as Foreigner. Remember Foreigner from the '80s?
Journey—remember Journey? I have seen Journey labeled as heavy metal—come on, that's not heavy metal. Anyway, so I check for all those bands. They are not there. All the bands that are listed in the source, all of them are pure heavy metal, pure heavy metal. Now, I cannot claim that this source is completely reliable, but at least I have verified that they are counting only bands that are heavy metal. Then I retweet the map, right? Now, this is a goofy, very silly example, which is really, really helpful, I believe, to explain to the general public how they can verify sources themselves, which is something that any person can do. Let me show you an example that is a little bit more serious, and perhaps will sound a little bit—you know, a little more—a little bit more useful for you. In my second book, “The Truthful Art,” I describe several examples that I borrow from several friends.
I have many friends who work in the world of statistics. One of them, Heather Krause, is a statistician from Canada who works for nongovernmental organizations, helping these organizations understand their data better and manage their data, explore their data, etc., and she once shared with me this story. She was doing some exploration about intimate partner violence rates, that violence within families, right? And she discovered that depending on the source that you consult, the
rates vary a lot, and that is what these graphs are representing. So focus, for example, on the bars corresponding to Cameroon, okay? Cameroon. The rates are over here, that's the y-axis. That's the rate of intimate partner violence, IPV, and each one of the bars, each one of the blue bars, corresponds to the IPV reported by a source. So you have source number one, source number two, source number three, source number four. Now, why do they differ so much, right? Because they differ very, very much. And obviously, you will only discover that if you read the methodology from each one of these sources, because they are using the name IPV to refer to different things. In some cases, you have a source that is counting only physical violence. Therefore the rate is really low. Other sources are also counting verbal violence. Therefore the rate appears enormous. Now, how many times have you seen people
comparing data from different sources without checking the methodology of both sources to see whether they are comparing apples to oranges? It happens all the time, and obviously we would need to be really, really careful. So the first—the first principle that I listed before—making sure that you are using reliable data— happens before you even create any sort of graph, before you even open up any tool to create a data visualization. We need to talk to sources, we need to talk to experts. None of us is an expert in statistics, so we need to talk to statisticians. Perhaps this sounds as a platitude, because you all do that, right? But we need, I believe, to keep reminding ourselves how important it is not to rush, download a data set, and represent it immediately. Right? We need to stop and first of all verify all those data. Now let me jump to the fourth principle, which is related also to the first one: Showing the right amount of data.
This is what I mean, and it is related to that principle of never simplify—clarify instead. Let me show you a graphic that is mathematically fine, right, but it's a simplification of data. So this is a chart, a graph—or sorry, a table that shows the unemployment rate in the United States in the first three months of each one of these presidencies—the average unemployment rate. So under President Obama, for example, in the first 100 days of his tenure, the unemployment rate, the average unemployment rate, was 9.0 [percent]. Under President Bush, it was 4.4 [percent]. Under President Clinton, it was 7.1 [percent]. The numbers are perfectly fine, the numbers are correct, but this is an oversimplification. And it is what happened—you may think that this is politically motivated, I don't know if it is, and I don't care because I have seen people with the best of intentions in newsrooms
make the same mistake, show only a couple of data points to make a point—forgetting the context of those data: compared to what, compared to whom, right? We sometimes tend to oversimplify the information that we present to people, and this is one of these cases in which increasing the amount of data that we show may clarify the story. Because if you think critically about these numbers, you probably know, you probably have guessed, that the unemployment rate in the first three months of any presidency is largely an effect of what you inherited from the previous guy, right? So that's what happening over here. So a more clarifying representation of information will be not to show just that number, but to show for example, the unemployment rate on January, at the beginning of each tenure, and on December, at the end of each tenure. The beginning and the end, the beginning and the end, the beginning and the end. When you do that, the
story obviously changes completely, right? So at the beginning of each presidency, we have that number, at the end of each presidency, we have that number, and then we show the change in percentage points. So please, please forget about that journalism and data visualization is about simplifying things. It's about clarifying things. Only show the data that you need to show, but never oversimplify the data. Always think about compared to what? What is the baseline? What is the base rate? What is the beginning? What is the end? Compared to the average? Those kinds of comparisons are incredibly valuable. Another important thing to remember related to this principle of showing enough amount— enough amount of information, is that a chart always shows as much as it hides.
Let me show you what I mean by this. This is an example that comes from a wonderful book that I recommend to everybody titled “Teaching Statistics: A Bag of Tricks.” This is the excerpt from—by Andrew Gelman and Deborah Nolan. So this is a map that shows you the lowest kidney cancer death rates in the United States in the decade—in the '80s, between 1980 and 1981. You see that map, you see those counties. And I'm going to give you another small piece of information over here, which is described in the book, which is that most of those counties over there are rural. Rural counties. Now, I can guarantee that if you show that map to most people and you tell them these are the lowest rates, most of these counties are rural, people will start making up stories in their minds. And this happens to all of us; we start extracting inferences from the map. I'm going to just word some of the inferences that came to my mind
before I knew better. Okay, so those are the lowest death rates, all those counties are rural, so let me see. Okay, they are rural, so probably people there exercise more, they probably walk more, etc. They probably eat better because they grow their own food, so they eat organic—that could be. Perhaps they have stronger family ties because they live in a rural environment, and we know that all these factors contribute to, you know, getting better when you have cancer, to recover more when you have cancer. Or not developing cancer in the first place. If you eat better and if you exercise more, those are factors that contribute to having lowest cancer rates and therefore lowest death rates of cancer, right? So rural, low cancer rates. All that obviously is wrong. Because if you take a look at the highest cancer mortality rates,
most of those happen in rural counties as well. All the counties, or most of the counties, that have the highest mortality rates of cancer are also rural. What's going on over here? Well, this is a basic fact of statistics, right? which is that low or small samples, or small populations, tend to vary much more than big samples and big populations. Let me do an infographic for you. I have a hard time visualizing numbers, so I usually like to represent them graphically. So let me use my fingers.
Imagine that you have a county in which only ten people live, right? And in one decade one of those ten people dies of cancer. Suddenly, you have a huge rate of death of cancer. 10 percent—one person out of ten—10 percent, 10 percent of people in that county dying of cancer. Therefore, that particular county will end up on the highest death rate, mortality rate, on the second map in one decade. But then on the decade after that, in that same county, nobody dies. Therefore you have a zero
cancer death rate. Therefore that same county will end up on the other map, on the first map over there, or the lowest mortality rate. So here, what we are witnessing has nothing to do with eating anything or exercising more. It’s just, you see, the effect of the very natural variation of data. Becoming aware of these very little facts of statistics doesn't require any sort of formal training. It is just a matter of reading about them, and then becoming more cognizant about them.
Another example of oversimplification through a chart that is perfectly fine, nothing wrong with it, the chart is perfectly fine, is showing real data: The US murder rate. So as you know, the US murder rate—the murder rate in this country per 100,000 people—went up during the ’80s, right? very sharply. Then it went down, also very sharply, during the ‘90s and the 2000s. And then in the past couple of years, that murder rate has increased in this country, right? There is nothing wrong with that chart. This is all based on solid data, murder rate all over the country. But as I mentioned before, a chart always shows as much as it hides. And if you only use this chart, you're doing a disservice to your readers. Why? Because that chart is showing you the murder rate all over the United States. It’s aggregating all the murders, in all of the country, and that increase that you're seeing over there is largely an effect of
certain neighborhoods of certain cities, like Baltimore, Chicago, Miami, Milwaukee, etc. So if you want to visualize this, imagine that you have on the y-axis the current murder rates in 2016 with each neighborhood of each city represented with a little dot, and the position on the y-axis corresponding to the murder rate of that particular area. Most of the neighborhoods in most of the cities of the United States, the murder rate is quite low. They are down here, but then suddenly you have ten, twenty—I don't know how many— neighborhoods in the United States in which the murder rate is so enormous, so many people are dying in shootings and clashes with the police, etc.—not clashes with the police, because it is the murder rate, but it's not death rate—so they're killing each other in such a high rate. They are out here, but they are pushing the line up.
Therefore, whenever we present a story like this to readers, in order to explain this story correctly, we should never, I believe—this is just my opinion— we should never use just that chart, because we need to talk about both the trends in the data and the outliers that may be skewing the trend in the data. Both pieces of information are fundamental to inform people about what is going on with these data. We need to present both, and it is better if we present both of them
graphically, so we have the trend first and then perhaps we can have smaller charts below showing you the murder rate in these particular neighborhoods that are so dangerous in the United States that they are skewing the average murder rate in the United States. So let's not simplify, from this point on, let's clarify by increasing the amount of information, just a little bit, to provide more context. Then, a visualization needs to grab your attention. It needs to be eye-catching.
But at the same time you need to represent data accurately. Both of them—both of those two things go hand in hand. They are related to each other because there are graphics out there that are extremely eye-catching, very powerful visually, but they end up being misleading because they are not representing the data correctly. Now, let me show you a graph that was used in Congress a number of years ago to attack Planned Parenthood. Over here—so this chart. I don't really care what you think about Planned Parenthood. I don't really care whether you are against abortion or in favor of abortion. That's besides the point. What we really need to care about is not being lied to when we see graphs and we see charts. And this graph is a damn lie. Now, this graph over here is showing you the number of cancer screening procedures going down very sharply and the number of abortion procedures going up very sharply at the same rate,
producing, creating the shape of an X, right? Most people take a look at the pattern of increasing or decreasing and they don't go beyond that, right? And the problem—whoops, I don't know what's going on over here. Oh, give us one second— we're back. So, they don't read the numbers, They just take a look at the pattern, right? But when you read the numbers, which are super tiny for obvious reasons, you will see that it goes from two-point-something million procedures, then to one million procedures, but this one goes from 300,000 procedures up to 320,000 procedures. Therefore the rate of change is just a little bit different, right? Now, that's how the chart looks if you put everything on the same scale. Now— moreover this chart is not just wrong because it's misrepresenting the real scale of the data, but also it’s because it's hiding a lot of very relevant data.

Ask anything
We've read this whole study set, so questions about it get the best answers.