A demonstration of how to bulid a heatmap with mouseover, and mouseleave behaviour in 3 distinct functions. The square style is slightly modified when the element is hovered. It allows to make more obvious which element is observed. In this exmple I used only subset of the dataset as follow:
Japan Mexico Brazil Argentina Philippines Russia Turkey France
Then, I represent male and female suicide rates.
Suicide Rates Overview 1985 to 2016
This work inspierd from here