This week I learned that z-index doesn't apply to svg, instead order of the elements matters. I am building a scatter plot in d3 and my brush was appearing behind my clusters. I needed the brush to appear in front of the clusters. After some research I was able to figure out the fix.
This week I learned that z-index doesn't apply to svg, instead order of the elements matters. I am building a scatter plot in d3 and my brush was appearing behind my clusters. I needed the brush to appear in front of the clusters. After some research I was able to figure out the fix.
Awesome!