Reader small image

You're reading from  Extending Power BI with Python and R - Second Edition

Product typeBook
Published inMar 2024
Reading LevelIntermediate
PublisherPackt
ISBN-139781837639533
Edition2nd Edition
Languages
Right arrow
Author (1)
Luca Zavarella
Luca Zavarella
author image
Luca Zavarella

Luca Zavarella has a rich background as an Azure Data Scientist Associate and Microsoft MVP, with a Computer Engineering degree from the University of L'Aquila. His decade-plus experience spans the Microsoft Data Platform, starting as a T-SQL developer on SQL Server 2000 and 2005, then mastering the full suite of Microsoft Business Intelligence tools (SSIS, SSAS, SSRS), and advancing into data warehousing. Recently, his focus has shifted to advanced analytics, data science, and AI, contributing to the community as a speaker and blogger, especially on Medium. Currently, he leads the Data & AI division at iCubed, and he also holds an honors degree in classical piano from the "Alfredo Casella" Conservatory in L'Aquila.
Read more about Luca Zavarella

Right arrow

Choosing a circular barplot

Very often, we need to display the measures associated with different categorical entities using a bar chart (or barplot). However, when the number of entities to be represented exceeds 15 or 20, the graph begins to become unreadable, even if it is arranged vertically:

A graph with a bar graph  Description automatically generated with medium confidence

Figure 21.1: A barplot of worldwide weapons sellers

In this case, as you saw in Chapter 19, Exploratory Data Analysis, it is often a good idea to plot a maximum number of entities and then group the subsequent entities into a single category (in our case, the Others category). This preserves the readability of the graph, but loses some of the information you want to represent.

If it is absolutely necessary to display all entities with all their dimensions, we often resort to a more eye-catching organization of the space occupied by the barplot, wrapping it in a circular shape, thus obtaining a circular barplot:

A graph with text on it  Description automatically generated with medium confidence

Figure 21.2: Circular barplot of worldwide weapons sellers...

lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Extending Power BI with Python and R - Second Edition
Published in: Mar 2024Publisher: PacktISBN-13: 9781837639533

Author (1)

author image
Luca Zavarella

Luca Zavarella has a rich background as an Azure Data Scientist Associate and Microsoft MVP, with a Computer Engineering degree from the University of L'Aquila. His decade-plus experience spans the Microsoft Data Platform, starting as a T-SQL developer on SQL Server 2000 and 2005, then mastering the full suite of Microsoft Business Intelligence tools (SSIS, SSAS, SSRS), and advancing into data warehousing. Recently, his focus has shifted to advanced analytics, data science, and AI, contributing to the community as a speaker and blogger, especially on Medium. Currently, he leads the Data & AI division at iCubed, and he also holds an honors degree in classical piano from the "Alfredo Casella" Conservatory in L'Aquila.
Read more about Luca Zavarella