Election Data Visualization
This article is an overview of the many innovative trends and paradigms in the rapidly evolving field of data visualization. We use as a backdrop the data reported from the 2016 presidential elections in the United States.
LAST MONTH saw the culmination of the 2016 American presidential election. The contest was a closely fought battle between the candidates representing the country’s two major political parties — Democrats and Republicans. There were a large number of sources — television networks, newspapers, political analysts, bloggers, syndicated columnists, social media platforms, etc. — that kept a vigilant eye on data as it became available on the evening of the election. What we found most interesting from a technology angle was how various news organizations relayed insights from that data by leveraging efficient and innovative data visualization techniques.
Major political events like elections offer experts in user interface (UI) and user experience (UX) important lessons on how to understand and explore data better. Innovations in each election cycle have the potential to set new trends in data visualization. Besides following the progress of the candidates throughout the election season, UI and UX specialists look closely at techniques that we can explore to make better sense of the data.
In this article, we take a look at some news websites which have used various data visualizations to help readers better understand compelling stories behind complex data that came from election predictions and results.
1. Gauging the Gauge
Visualization: Gauge graph/Speedometer
Source: The New York Times
Technology: JavaScript libraries
This example from The New York Times effectively communicates single data points. In some scenarios gauge charts are a popular visualization tool. They offer insights at a glance and allude to the universal gauge — a car’s speedometer.
Most professional UX designers, however, consider gauge/speedometer charts as a bad design choice. The design is too simplistic, lacks content, and takes too much space. However, data visualized using this technique is easy to understand, even though it doesn’t fall in line with general design norms.
2. Representing all the data
Although most websites focused on two major party candidates, Donald Trump and Hillary Clinton, there were others vying for the presidency as well.
Visualization: Stream Graph
Source: Google Trends
Technology: JavaScript Libraries
Johnson, Stein, and McMullin did not make any significant impact this election, but by not displaying their data news sites were perhaps hiding valuable pieces of information. This brings us to the importance of the data displayed when preparing visualizations. At the same time, we would do well to provide options to show entire datasets and thereby avoid skewed representations.
3. Breaking complex data into bits and pieces
The New York Times broke the election related data into bits and pieces. They came up with an out-of-the-box idea, representing the entire population in an 18x18 square centimeters matrix. Each inner square represented a million people. The site further analyzed the actual number of people voting in this election season.
Visualization: News Graphics
Source: The New York Times
Technology: JavaScript Libraries
For an impactful user experience and better registering of data, visualizers need to draw appropriate abstractions. Visualizers also need to be conscious about the amount of data being displayed. By pushing large quantities of data onto users all at once we risk causing information overload. Drill-downs and filtering options go a long way in letting users draw better insights from the data.
4. Designing for your audience
Visualization: Demographic Heat Map
Source: The New York Times
Technology: JavaScript libraries
There were few visualizations on the election sites that relied on interactivity. Organizations are moving away from click-based interactivity, perhaps because users avoid clicking on the option which offers greater details. One key take-away for designers is to reduce the number of clicks on the dashboard.
5. Innovation
The Wall Street Journal displayed its knack for visual innovation by representing time on the y-axis. Doing so seems to be an unusual style in data visualization, as we are accustomed to seeing trends represented by line charts with time on the x-axis. We expect to see this trend continue as we consume more information on mobile and tablets. As users scroll vertically on mobile devices, it makes sense to translate the scrolling action into the passage of time.
Visualization: Time-series
Source: Wall Street Journal
Technology: JavaScript libraries
Most of the election tracking sites are optimized to work on mobile devices. Anyone creating data visualization, even in business environments, should look to produce work that is specifically designed with mobility in mind.
6. Decentralization of power
Visualization: Demographic Heat Map
Source: Google Trends
Technology: JavaScript libraries
Get Nabhonil Roy Chowdhury’s stories in your inbox
Join Medium for free to get updates from this writer.
Users need full control of the data they see. These controls could be in the form of useful widgets that assist in managing the flow of data, interactivity on the graphs, or letting the user choose a visualization of their choice.
The above example from Google Trends gave us an idea of the candidates who were followed on YouTube. At the top of the chart, there was action controls for users. These controls collect user inputs and use them to decide which data is displayed on the dashboard.
What we observed
Using shades to indicate partial data
The New York Times used different color saturation levels to indicate leaders while the votes were still being counted, and winners once the final results were clear. Likewise, if we need to represent in-progress collection of data, using a lighter saturation to indicate relative progress toward the final state and a darker saturation once the final outcome is clear, helps viewers read the data better.
Sorting data by the most important information
When reporting results, The New York Times showed data in a descending order so that leading candidates were on top. The number of delegates is the most important outcome of multi-state primaries. The final results, therefore, are sorted by the overall number of delegates won by each candidate.
Give a clear indication of the current position of the data
Visualization: Demographic Heat Map
Source: Bloomberg
Technology: JavaScript libraries
Bloomberg clearly showed the number of votes reported, so the reader got a clear sense of how complete the data was. Likewise, when we report constantly changing data towards a fixed target, ensure you indicate the target value, current value, and gap as clearly as possible.
Our take
As per University of Illinois Urbana-Champaign(UIUC) — ‘Data visualization is a high bandwidth connection between data on a computer system and the human brain, facilitated by visual communication.’ In simpler words, data that is difficult to understand can be made easier for the intended audience through the use of visual communication channels.
In conjunction to using various visual cues such as the ones mentioned above, data visualization experts could also look to innovate on engaging the reader and presenting data accurately. Innovative visualization can nudge forth various dimensions to a story such that each piece of data tells us something new and gives us a different perspective. Likewise, as we observe from the cases above, the selection of the form of the visual and the depth of it facilitated interactivity from the target audience.
From the developer community’s standpoint, what was interesting to note was that even though there are a plenty of powerful and off-the-shelf data visualization products available in the market today, most of the new sites used custom JavaScript libraries for their data visualization. This can be attributed to the inability of popular data visualization products to offer adequate flexibility and customization, among other factors. A willingness to innovate in the data-visualization space clearly manifests itself as a trend towards adoption of open-source JavaScript frameworks and libraries over other off-the-shelf products.
From our study of the strategies used by various reporting sources that had high traction with consumers during the American presidential election, we broadly see two outcomes. One, we are able to identify and validate the best practices of data visualization. Two, we also realized the importance of innovation that go beyond best practices, and enable us to bring out the story behind every piece of data.
Additional inputs from
Guruprasad N V
Vinay Rangaraju Nagavara
Sources
Presidential Forecast — TheNewYorkTimes
Polling for the 2016 Election — The Wall Street Journal
Presidential Election Results — TheNewYorkTimes
Who voters are watching on YouTube — Google Trends
Election 2016 Center — bloomberg.com
Only 9% of America Chose Trump and Clinton as the Nominees — TheNewYorkTimes
Elections in search 2016 — Google Trends
References
About the authors
Rohit Kumar Rathi and Nabhonil Roy Chowdhury are software engineers at the Infosys Center for Emerging Technology Solutions





