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

D3 challenges- Each bar element's height should accurately represent the data's corresponding GDP
0

#1

I’ve completed two of the D3 challenges, but I keep failing one of the tests regarding the height of the displayed elements. I’m not sure where I’m going wrong, if anyone can help it would be great.

Bar chart challenge: https://codepen.io/sbnakhi/pen/pOOzpv
Scatter plot challenge: https://codepen.io/sbnakhi/pen/xaPovY