Here is the link to my code: https://codepen.io/khal45/pen/dyQyVmL?editors=0010
I’m working on the 4th data visualization project but user story 6 and 7 are not passing please help!
I don’t see a link to your CSS in your HTML file ,if its required. Hope this helps.
I really do not know anything about D3 so I probably shouldn’t try to help. But I’m a little confused.
-
The
countyDataarray is3142in length -
The selector
document.querySelectorAll('svg path').lengthgives3142 -
But the selector
document.querySelectorAll('.county').lengthgives3141(which is what the test is using for the count).
Can’t say I know why, but it would seem like one of the paths is missing the county class.
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.