D3 Tree Map - Feedback

I just completed the final FCC d3 project.
Pls ur feedback is required and will be appreciated.

https://codepen.io/SammyChris/full/dEOyxG

Well done! Few suggestions.

  • Your texts get cut off horizontally and vertically. Try calculating current boxes’s width and height and trim them with … in the end.
  • Tooltips disappear when I hover on texts. I would make your texts not selectable so that tooltips appear always.

Cheers :tada: