Bubble Charts vs Bar Plots

A step towards simplifying common data visualizations.

Bar plots quickly get messy and cluttered as the number of categories increases.

For instance, consider the bar chart below, which depicts the exports of various countries across several years:

It is so difficult to interpret this plot because it has too many bars packed into a small space.

In fact, by looking at the above plot, it is almost impossible to tell which countries did no exports and in which year.

A bubble plot is often a better alternative in such cases, as depicted below:

Compared to a bar plot, they are less cluttered and offer much better comprehension.

Firstly, the size-encoded bubbles drastically reduce the clutter, which we noticed earlier (shown above).

Next, it also makes finding countries and their year of no exports effortless.

Isnโ€™t that cool?

You can download the code for this article here: Bubble Chart Notebook.

๐Ÿ‘‰ Over to you: What are some other better alternatives to bar plots and when to use them?

  • 1 Referral: Unlock 450+ practice questions on NumPy, Pandas, and SQL.

  • 2 Referrals: Get access to advanced Python OOP deep dive.

  • 3 Referrals: Get access to the PySpark deep dive for big-data mastery.

Get your unique referral link:

Are you preparing for ML/DS interviews or want to upskill at your current job?

Every week, I publish in-depth ML deep dives. The topics align with the practical skills that typical ML/DS roles demand.

Join below to unlock all full articles:

Here are some of the top articles:

Join below to unlock all full articles:

๐Ÿ‘‰ If you love reading this newsletter, share it with friends!

๐Ÿ‘‰ Tell the world what makes this newsletter special for you by leaving a review here :)

Reply

or to participate.