Javascript – d3 polygon and trash icon on edge
I want to render polygon shapes in d3.js – but on the edge of each polygon provide a trash icon so the polygon itself can be removed. Then keep a track of remaining polygons. how do you append circles/trash icons…