I have the following notebook:
The map displays groups of ZCTAs and what I would like to achieve is being able to mouse over the different color rectangles, and have any ZCTA that is not that color fade.
I have achieved the effect I want for Group 4 using the gray square which is hardcoded for Group 4. However, when I try to generalize this to the rectangles the code stops working.
Any thoughts on where I am going wrong with this?