Challenge: Add Tooltip to a Treemap

Can you implement a tooltip in a treemap that will show the name of the continent when we hover over the country in the treemap?

Problem statement

Add a tooltip to the treemap already drawn in the Drawing a Treemap lesson. The tooltip should show the name of the continent of the country over which the mouse has hovered.

Expected output

Get hands-on with 1200+ tech skills courses.