Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

Python data visualization: too small value to be visible – how to solve?

Here is dataset, i have:

Source All Leads Not Junks Warms Hots Deals Weighted Sum
web 281316 269490 10252 2508 1602 4376.5
telesales 30458 29732 431 138 85 316.2
networking 4249 4195 763 547 476 539.1
promos 1356 1308 30 1 0 10.8

I visualized it:

df.plot.bar()

And got this output:

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

enter image description here

Some columns got too small values, so that they are not visible, how can tackle this problem?

Setting bigger figure size isn’t useful, it makes chart bigger, but columns ratio is still the same, so nothing changes

Any ideas how to make it look more sophisticated? Or maybe i should try different type of chart? Thank you!

>Solution :

Could try df.plot.bar(logy=true), but it’s going to make useful interpretation of it messy. A Sankey diagram would probably be a better fit for showing how the data breaks down in each category.

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading