d3plus / d3plus-react

React components for d3plus visualizations.
MIT License
31 stars 6 forks source link

bar charts axis starting at non-zero #47

Closed sidhusubhash closed 3 years ago

sidhusubhash commented 3 years ago

Hi,

While changing the y-axis domain of a bar chart, bars are overlapping the x-axis. How can i avoid this?

Screenshot 2021-09-10 at 6 24 33 PM

Version: "d3plus-react": "1.0.1' Reference: https://github.com/d3plus/d3plus/issues/480

davelandry commented 3 years ago

Instead of starting from zero (which is often a big "no no" in Bar Charts), I'd prefer to add support for "breaking" the scale: https://github.com/d3plus/d3plus-plot/issues/99