D3 Choropleth - can't pass tests 4, 5, 6 & 7

Hi, so my d3 choropleth map isn’t passing tests 4,5,6 & 7 and I can’t figure out why.

I’ve included at least 4 fill colours that I can see on screen for test 4.
Also, tests 5 & 6 look ok to me when I click inspect and check the code via developer tools.

Here’s my codepen:

Any help would be much appreciated! Thanks

Oops I figured it out. I should have put the class attribute below the path bit.

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