Categories Machine Learning

Awesome Plotly with Code Series (Part 7): Cropping the y-axis in Bar Charts | by Jose Parreño | Jan, 2025

[ad_1]

Is there ever a good reason for starting a bar chart above zero?

Jose Parreño
Towards Data Science
Image generated with Dall-e

Welcome to the seventh post in my “Plotly with code” series! If you missed the first one, you can check it out in the link below, or browse through my “one post to rule them all” to follow along with the entire series or other topics I have previously written about.

A short summary on why I am writing this series

My go-to tool for creating visualisations is Plotly. It’s incredibly intuitive, from layering traces to adding interactivity. However, whilst Plotly excels at functionality, it doesn’t come with a “data journalism” template that offers polished charts right out of the box.

That’s where this series comes in — I’ll be sharing how to transform Plotly’s charts into sleek, professional-grade charts that meet data journalism standards.

PS: All images are authored by myself unless otherwise specified.

[ad_2]

More From Author

You May Also Like