Overview

The internet has the power to spread thoughts and ideas all over the world. Whether this information is true or false, it can spread like wildfire. Because of this, it is necessary to observe whether the internet has had an effect on differing pieces of society.

One of the bigger issues circling the internet over the past decade has been whether vaccination causes autism. In 2007 Jenny McCarthy spoke out against vaccines when she was invited to talk on Oprah, stating that the Measles, Mumps, Rubella (MMR) Vaccine caused her child to develop autism. 1 However, since that point many academic journals have claimed otherwise. In 2010 The Lancet retracted a major article published 12 years prior, which linked autism to the MMR Vaccine. 2 A study done in 2015 found no link between the MMR Vaccine and Autism. 3

It is likely that during the time each event occurred, a google search containing similar terms would produce the relevant article of that period. By looking at the Google trend popularity (GTP) of searches including the terms “MMR” and “Autism,” we can see whether any of the events mentioned above have impacted vaccination coverage over time.

Data Description

The data visualized above shows the behavior of two variables in relation to each other; MMR vaccination coverage and popularity of Google search terms. Magnitude is not visualized.

The Google search term data was downloaded from Google Trends4 and the vaccination coverage was downloaded from the Center for Disease Control (CDC). The Google trends data was downloaded in 50 different CSVs, one for each state, and had monthly data, when yearly data was what needed to be compared. A Python5 Script was used to average the monthly data for each year and reformat it into one CSV so it could be easily compared with the vaccination coverage data. Once both data were in the same format percent change was calculated between each year using the following formula in excel6: \[(x_2 - x_1)/|x_1|\] Zero was inputted as the no data value. In order to avoid divide by zero errors, all zeros were replaced by 0.00000001. Once this information was established, another python script was built to compare the behaviors of the 2 functions and sorted them on whether they were increasing, decreasing, or there was no change/no data available. Because changing all the zeros to 0.00000001 would have caused the percent change formula to produce a huge number if this number was used as \(X_1\), the script counted all these inputs as no data.

For each change in years, the data was visualized in QGIS7 using the same mapping properties and exported to png8 format. The image files were loaded into GIMP9, optimized and exported as an animated GIF10. The animated gif was converted to a video using an ezgif11 an online video converter.

Author: Gianna N. Maniaci. Last edited: 2020-05-04.


  1. New York Times. Online: https://www.nytimes.com/2014/04/22/opinion/bruni-autism-and-the-agitator.html↩︎

  2. PubMed US National Library of Medicine National Institute of Health. Accessed 2020-04-15. Online: https://www.ncbi.nlm.nih.gov/pmc/articles/PMC2831678/↩︎

  3. PubMed US National Library of Medicine National Institute of Health. Accessed 2020-04-15. Online: https://www.ncbi.nlm.nih.gov/pubmed/25562790↩︎

  4. Google Trends Data. Accessed 2020-04-15. Online: https://trends.google.com/trends/explore?date=all&geo=US&q=mmr%20autism↩︎

  5. Python. Copyright (C) 2001–2020. Python Software Foundation. Accessed 2020-04. Online: https://www.python.org/↩︎

  6. Microsoft Excel. Copyright (C) 2020. Accessed 2020-04. Online: https://www.microsoft.com/en-us/microsoft-365/excel↩︎

  7. QGIS. Software released through CC-BY-SA by the QGIS Development Team. Accessed 2020-04. Online: https://www.qgis.org↩︎

  8. Portable Network Graphics (PNG). Copyright 1995–2020 Greg Roelofs. Accessed 2020-04. Online: http://www.libpng.org/pub/png/↩︎

  9. GNU Image Manipulation Program (GIMP). Software released through CC-BY-SA by The GIMP Development Team. Accessed 2020-05-01. Online: https://www.gimp.org/↩︎

  10. Graphics Interchange Format (GIF). Copyright 1987–1990 CompuServe. Accessed 2020-05-01. Online: https://www.w3.org/Graphics/GIF/spec-gif89a.txt↩︎

  11. EZGIF. Accessed: 2020-05-01. Online: https://ezgif.com/gif-to-mp4/ezgif-4-f6774f2a7211.gif↩︎