Hey everybody,
so I was wondering if it is possible to color the hovered element of a treemap based on a set property. For example: If I hover over the "apple" field it will be colored red. If I hover over banana it should get yellow and so on and so forth.
I want to set the color of the fields manually, not based on the number of children.
[Beyond the question scope, but maybe helpful for understanding: I want to color the leaf nodes of my tree-map when you hover over them based on a current accessability. Think of it as a list of groceries. If I have bought it, it should be colored green. If not red.]
Thanks for your help!
P.S. If you don't understand the question (which is possible, because I find it hard to describe tbh) just ask :)