Being stuck on the first Data Visualization challenge.
More specifically, I seem to not be able to pass the second TooltipTest “My tooltip should have a “data-date” property that corresponds to the “data-date” of the active area.” due to me being unable to populate the data-date property. This property always ends up undefined.
I’m not a d3js guy, I never really used it and data visualization honestly doesn’t interest me much.
I’m sure there are many ways of doing it but I can’t really give you the “right way”. I would just suggest you look at the API and some example code (d3js tooltip) and see what you can come up with. If you still can’t get it to work post again and maybe I or someone else will show some code (I would need to look at the same information as you first).