What is Data Visualization?
And why we don’t care for pie charts anymore,
Data visualization is not just a mere translation of data points into paltry bar charts and line graphs. It is like a dive into an ocean that hides treasures at each level. At the very onset, we have the straightforward delineation of data into textbook figurines viz. scatter plots, line graphs, pie charts, and bar graphs. Line Charts are generally used to depict a trend of data over time. In this topic of what is data visualization, we have cleared the whole concept ahead with the given graph and pie charts.
One of the most ubiquitous charts in use is the pizza chart or the pie chart.
Proportion of Gases in a mixture.
Commonly used during elections to show which party has got the lions to share of votes, this chart, although extremely popular, has some glaring disadvantages. Statisticians like Edward Tufte, Leland Wilkinson, and Gerald van Belle have expressed their disinclination towards the use of pie charts. The most conclusive evidence against pie charts has probably been provided by Stephen Few, the founder of Perceptual Edge. In his article, “Save the Pie for the Dessert” published in the Visual Business Intelligence Newsletter, Stephen explains why, to the surprise of his colleagues and students, he feels that pie charts are an ineffective means of visualizing data.
Take a look at the pie chart below.
In this graph depicting the proportion of food items ordered after 9 pm, it is easy to estimate the percentage belonging to Ice Cream — 25%. However, after slight modification, it is no longer possible to easily ascertain the percentage of orders going for ice creams.
Although the percentage of ice creams is still the same at 25%. It is difficult to understand from the diagram above. In the previous diagram, it was easy to guess the percentage because the shade for ice cream began at 6 o’ clock position and stretched till the 9 o’ clock position. As our eyes are trained to see the clocks at 12, 3, 6 and 9 — a pie chart is also more easy to interpret if its regions adhere to the 4 clock positions. An avid pie chart supporter would come forward and suggest that this problem could easily be avoided by using labels and marking the percentage against each region.
Pie chart with data labels
But then again, in order to map the value with the item, our eyes have to keep shifting focus from the legend at the bottom of the graph to the labels on the chart. The solution to that would be to attach the item name also, along with the values — to get something similar to this:
4.5 (2,324 ratings)
Perfect, you’d say. But then I ask you — Now that we have attached the names of the items along with the values, how is the pie chart above different from the table below:
Clean table with data sorted on Percentage of order
Does this information not look much better than the labels and legends scattered across the pie chart. What is the use of a pie chart then? Visualizations are supposed to add value, they are agents of conclusions, they are supposed to make the data expose its secrets. But in this case, the pie chart does not fulfill its promise.
Enter the Bar Chart of data visualization
The leaner and much more elegant alternative to the pie chart is the bar chart, that is able to express all that the pie says and much more, without making a mess of labels and legends.
Bar chart depicting the same — easy to compare, contrast and conclude
This is the same information now presented gently to the observer. Besides showing the individual values, this graph enables us to quickly compare the popularity of each food item and even compare the relative difference in value between consecutive items. Same data would have been available through the table, but our brains are better at processing images than deciphering the text. This is why the use of the pie chart has reduced over time. Although a favorite visual in the media industry, this has been replaced by better and more sophisticated representations. Besides line graphs, pies and bar charts there is a myriad of other charts that come in handy. One interesting graph, but not so popular to the uninitiated is the Sankey Diagram. This diagram is used to express the distribution and flow of matter. The matter in question could be energy, money, or even water.
Sankey Diagram of the energy flow and distribution of a typical IT employee.
Above is a fictitious Sankey diagram expressing how and where most of the Energy of an IT employee is distributed.
With the advent of social media and the different platforms where people can write out their feelings, reviews and opinion, one data visualization tool that has become quite common is the word-cloud. Word clouds help us find out what people are talking about.
A very real, live word cloud representation of the user reviews of PUBG at the google play store
If we look at the word cloud here which has been built from the top 80 reviews of the game PUBG at the google play store, we see that the overall response to the game is “good”, some people even calling it the “best”. However, it seems like there is an issue with some “update”s that the people are pleading with the game creators to rectify. Indeed, when we check the play store reviews on that day we see the same thing reflected.
The issue with updates. Also, see if you can find an occurrence of the word “please” here
This is just scratching the tip of the iceberg. Libraries like plotly and D3 have taken data visualization to a different level. This has happened because of the demand too have changed. How would you visualize a smart city on a dashboard? A giant screen on which the vitals of an entire city can be displayed. The traffic, power usage, the health conditions of different areas, air quality and a host of other parameters need to be displayed on a single page. This requirement begs a different approach to data visualization So we have learned that what is data visualization with the help of this concept. We can no longer stick with charts and graphs. A novel approach is required where graphs meet art and imagination, creating an enriching visual experience, That discussion begs a different article altogether. Till next time.
This article is a helpful guide on what is a data visualization. Here we have discussed the basic concepts with charts and graphs so that you can easily understand data visualization. You may also look at the following article to learn more –