score:1

Accepted answer

the basic approach is no different from drawing a normal heatmap (see for example here). the only difference would be that instead of appending rectangles, you append a container for the graphic that you want to use.

whether you would be able to adjust the shading depends on the graphic itself -- if it's a bitmap you're out of luck. if it's an svg for example you can simply select the path inside that svg and set the fill color just like you would for a rectangle in a normal heatmap.


More Query from same tag