How to invert a bar chart & display data values on Y-Axis with the difference of 2000?

Playground: CodeSandbox

So, all the GDPs are being printed on the Y-axis in the current state.

  1. But I want to print with a difference of 2000. i.e. : 0, 2000, 4000, … till 18000

  2. Can’t set the proper data types. Used many kinds of combinations.

  3. The bar chart should be upside down rather than left to right. like in here: CodePen

I’m coding this in a different approach rather than what has been done in the above link.

Can anyone help?

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.