Data Visualization - Visualize Data with a Heat Map

Hellow everyone…
Im doing the Data Visualization course and im stuck in the Visualize Data with a Heat Map

There are two problems: tooltip and the scale
can someone help me figure out whtas wrong with my code?
The problem with the scale is that the colors aren´t being shown
and with the tooltip they cant be detect but are working…

can someone help me please?

The code is here https://codepen.io/httxx/pen/NWBvKze

You have two tooltips defined; one in HTML and one in D3.

For the scale, you can’t append rects with your scale colors to a rect.

Additionally, I would suggest using a current D3 (v7) as opposed to D3v4 and that you add your scripts via the JS configuration gear exclusively.

1 Like

Thank you so much, it was just that !!

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