Closed dotku closed 2 years ago
The role of d3-shape is to create shapes. What you do with them is out of scope.
For example, if you use the shape to draw a path in svg, you can set its css with d3-selection like so:
d3.create("path").attr("d", shape).style("cursor", "pointer")
eg when user handover the curve, mouse would display pointer ({cursor: pointer})?