Reader small image

You're reading from  AWS Certified Machine Learning Specialty: MLS-C01 Certification Guide

Product typeBook
Published inMar 2021
Reading LevelBeginner
PublisherPackt
ISBN-139781800569003
Edition1st Edition
Languages
Right arrow
Authors (2):
Somanath Nanda
Somanath Nanda
author image
Somanath Nanda

Somanath has 10 years of working experience in IT industry which includes Prod development, Devops, Design and architect products from end to end. He has also worked at AWS as a Big Data Engineer for about 2 years.
Read more about Somanath Nanda

Weslley Moura
Weslley Moura
author image
Weslley Moura

Weslley Moura has been developing data products for the past decade. At his recent roles, he has been influencing data strategy and leading data teams into the urban logistics and blockchain industries.
Read more about Weslley Moura

View More author details
Right arrow

Visualizing comparisons in your data

Comparisons are very common in data analysis and we have different ways to present them. Let's start with the bar chart. I am sure you have seen many reports that have used this type of visualization.

Bar charts can be used to compare one variable among different classes; for example, a car's price across different models or population size per country. In the following graph, we have used a bar chart to present the number of Covid-19 cases per state in India, until June 2020:

Figure 4.3 – Plotting comparisons with a bar chart

Sometimes, we can also use stacked column charts to add another dimension to the data that is being analyzed. For example, in the following graph, we are using a stacked bar chart to show how many people were on board the Titanic, per gender. Additionally, we are breaking down the number of people who survived (positive class) and those who did not (negative class):

...
lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
AWS Certified Machine Learning Specialty: MLS-C01 Certification Guide
Published in: Mar 2021Publisher: PacktISBN-13: 9781800569003

Authors (2)

author image
Somanath Nanda

Somanath has 10 years of working experience in IT industry which includes Prod development, Devops, Design and architect products from end to end. He has also worked at AWS as a Big Data Engineer for about 2 years.
Read more about Somanath Nanda

author image
Weslley Moura

Weslley Moura has been developing data products for the past decade. At his recent roles, he has been influencing data strategy and leading data teams into the urban logistics and blockchain industries.
Read more about Weslley Moura