Can someone help me pass the pending 3 test cases.

Please help the pass the last 3 test cases.
I cannont think of what to do to pass them.
Please help me.

I did the same mistake.

I finally make it with as you do, but there if the window is resize or codepen bar must less and etc. ,but I never been able to fullfill the story in all cases and the Y goal only in my desktop.
The all try only half of dataset in your case you set GDP only. actually the current easy way is create third dataset with both values

 let dataset={
     item.val= item[1];
item.year= item[0];
and then

or use as dataset json directly and in