Each bar element's height should accurately represent the data's corresponding GDP

Each bar element's height should accurately represent the data's corresponding GDP
0.0 0

#1

Im facing this problem…

Here’s my code : https://jsfiddle.net/j7g0Lu2w/2/


#2

Hello Show,

Not a direct answer, but seems it’s an scale issue. I just played some with your padding, widthMod, and heightMod and could pass all the tests, but with broken UI.

You may just scale the Y bar from min to max maybe?

Happy coding.


#3

Thank you for helping . I scaled the Y bar from min to max and it worked !