I'm using React ChartJS to build a bar chart which currently looks like this
The data that this is built on top of is dynamic -- that is, there can be many more industries (or fewer). I'd like to fix the bar width (say, at 30 pixels) and to have the chart grow taller according to how many datasets that I have. In other words, I don't care how tall the chart is, it should be a function of how many datasets that I have.
How would I accomplish this?
I'd share the code I've got already but it's pretty generic, can post it here if folks would find that useful.