D3 bar chart - x values don't line up with x locations

After hours trying to pass tests 10 and 11 I almost lost my hairs. Already tried other people solutions to the same issue but couldn’t make it work. Here is my pen

if someone could guide me through the darkness I will be ethernally grateful :smile:

            .attr('transform', 'translate(45, 0)')
            .attr('id', 'x-axis');

            .attr("transform", "translate(0," + h + ")")
            .attr('id', 'y-axis');

Your id attributes are backwards. Second set of eyes and all that.

1 Like

Wowww!!! :heart_eyes: all green now thank you so much @jeremy.a.gray and yours attentive eyes!

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