d3 / d3-shape

Graphical primitives for visualization, such as lines and areas.
https://d3js.org/d3-shape
ISC License
2.47k stars 304 forks source link

arc({cornerRadius}) #169

Closed Fil closed 3 years ago

Fil commented 3 years ago

arc.cornerRadius(10) works as expected, but arc({cornerRadius: 10}) doesn't. https://observablehq.com/d/ee9bef73d446e156 test

should it?

mbostock commented 3 years ago

Expected https://github.com/d3/d3-shape#arc_cornerRadius

Fil commented 3 years ago

surprising nonetheless :)