avatarNaina Chaturvedi

Summary

The article provides a comprehensive guide on selecting the appropriate data visualization charts to effectively represent and analyze data.

Abstract

The post, inspired by numerous reader inquiries, serves as a practical crash course on data visualization, emphasizing the importance of choosing the right charts for data analysis. It categorizes data presentation into four types: composition, distribution, relationship, and comparison, and introduces various charts such as line, column, stacked column, pie, donut, area, bar, scatter plot, box plot, KDE chart, and histograms. Each chart type is illustrated with examples and explanations on their usage. The article promises a follow-up (Part 2) to delve into how to select the most suitable chart for specific data scenarios. Additionally, the author promotes their newsletter and other educational series on data science, machine learning, and related technology topics.

Opinions

  • The author believes that data visualization is crucial for understanding data distribution over time, visualizing hypotheses, conveying important information for business decisions, and examining data anomalies.
  • They suggest that the choice of chart is dependent on the type of data and the message to be conveyed, with different charts being suitable for showing composition, distribution, relationship, or comparison.
  • The author values the educational impact of their work, offering a range of series and resources for readers interested in deepening their knowledge in data science, machine learning, and related fields.
  • They imply that their Tech Brew newsletter is a valuable resource for tech interview tips and project insights in software development, ML, data science, startups, and technology.
  • The author's emphasis on the upcoming Part 2 indicates an intention to provide a comprehensive and actionable guide for readers to apply in their data visualization endeavors.

How To Choose Right Data Visualization Charts For Your Data?

A crash course on practical Data Visualization …( Part 1)

Pic credit : visme

Welcome back peeps. This post is inspired by the number of questions (~40 questions) I get from my readers/followers/budding data enthusiasts wrt Data Visualization. I think I should have written this post as a part of 60 days of Data Science and ML series ( link below).

Some of the other best Series —

30 Days of Natural Language Processing ( NLP) Series

30 days of Data Engineering with projects Series

60 days of Data Science and ML Series with projects

100 days : Your Data Science and Machine Learning Degree Series with projects

23 Data Science Techniques You Should Know

Tech Interview Series — Curated List of coding questions

Complete System Design with most popular Questions Series

Complete Data Visualization and Pre-processing Series with projects

Complete Python Series with Projects

Complete Advanced Python Series with Projects

Kaggle Best Notebooks that will teach you the most

Complete Developers Guide to Git

All the Data Science and Machine Learning Resources

210 Machine Learning Projects

30 days of Machine Learning Ops

Tech Newsletter —

If you are interested, you can join my newsletter through which I send tech interview tips, techniques, patterns, hacks — Software Development, ML, Data Science, Startups and Technology projects to more than 30K readers. You can subscribe to Tech Brew :

So the question is —

How To Choose Right Data Visualization Charts For Your Data/best represent your data?

Data Visualization is an incredibly important step as it helps to understand how the data is distributed wrt time, lets you visualize your hypothesis about the data, conveys important information through different charts to let leaders take important business decisions, lets you examine the missing values/outliers in the data.

Pic credits : Inci

The advantages are many; thus, it’s important to understand how to choose right data visualization charts to best represent your data.

To answer this question, first you need to understand your data i.e what sort of data you are dealing with?

To present your data, there are four basic presentation types :

Composition : To show part-to-whole relationship of the data variables

Distribution : To show the spread of the data values

Relationship : To establish relationship between the different data variables

Comparison : To compare one value with the other ( i.e two or more data variables)

In this post we will first cover the different ( important) charts in the visualization libraries stack —

Line Chart —

Line chart are used to show trends over the period time or categories i.e to show changes in one variable value relative to another..

Example :

Pic credits : Google dev

Column Chart —

Column charts are used to show to show comparison between different variables or multiple categories over time. It’s plotted using vertical bars.

Example :

Pic credits : excelest

Stacked Column Chart —

Stacked Column Chart is used to show relative percentage of multiple data categories or variables in stacked columns. It’s plotted using vertical bars.

Example :

Pic credits : OriginalLabs

Pie Chart —

Pie charts are used to show data as a percentage of a whole i.e to let user compare the relationship between different categories/dimension in some context.

Example :

Pic credits : ResearchGate

Donut Chart —

Just like pie chart but with a hole in the centre; donut chart is used to visualize the categories as arcs.

Example :

Pic credits : fintrain

Area Chart —

Area Charts are used to present the accumulative value changes over time.

Example :

Pic credits : Anycharts

Bar Chart —

Bar charts are used to show to show values across different data variables/categories where values are represented on the x-axis and categories on the y-axis.

Example :

Pic credits : displayr

Scatter Plot —

Scatter plot are used to show distribution, correlation analysis and clustering trends.

Example :

Pic credits : DataViz

Box plot —

Box plots are used to show data using the median (middle value) of the data and the quartiles, or 25% divisions of the data as shown in the image below.These charts are powerful to spot the outliers and the overall distribution of the data.

The middle line is nothing but the median value of the data.

Pic credits : Onlinemathlearning

KDE Chart—

Kernel Density Estimation ( KDE) chart is used to show the the distribution of data points/values i.e. project the probability density of a continuous variable in more interpretable format.

Example :

Histograms —

Histogram is one of the most important chart which is largely used to represent analytics and projections. It is used to show frequency over a distribution.

Example :

Pic credits : Googledev

I hope now you are familiar with the chart types and in the next part ( part 2) of this post we will see how to choose right chart to best represent your data.

Part 2 : Coming soon!

For complete 60 days of Data Science and ML : Day 1 — Day 60 : Quick Recap of 60 days of Data Science and ML

Follow for more updates. Stay tuned and keep coding!

For other projects, tune to —

Build Machine Learning Pipelines( With Code)

Recurrent Neural Network with Keras

Clustering Geolocation Data in Python using DBSCAN and K-Means

Facial Expression Recognition using Keras

Hyperparameter Tuning with Keras Tuner

Custom Layers in Keras

Machine Learning
Programming
Artificial Intelligence
Data Science
Tech
Recommended from ReadMedium