Can't pass D3 Bar Chart Test #10

I’ve solved it by referencing this one: