Need Help in Data Viz Section

I am trying to solve this challenge :-

Visualize Data with a Bar Chart


Okay I was having trouble putting X axis on the screen. Turned out it was a styling issue.
I fixed that.

But my bar chart still looks broken.

Why is the width so much? Also if I try reducing the width some data points are lost.
How do I fix that?

Here is my Codepen