I am working with a packed circles graph that has circles with a black stroke on hover. I am interested in using the CSS property mix-blend-mode: multiply
to change the circle border when hovered over.
My goal is to have the stroke color be a darker shade of the fill color when a circle is selected or hovered over. Since the stroke colors are dynamically generated, I do not want to define each one individually.
https://i.sstatic.net/g5U0G.png
Is it possible to apply this CSS property along with d3.js
circles so that only the stroke is affected by the mix-blend-mode property? It's worth noting that I am using version 4 of d3.js (d3.v4.min.js).