d3 / d3-shape

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

d3.line(x, y) and d3.area(x, y0, y1)? #159

Closed mbostock closed 4 years ago

mbostock commented 4 years ago

It’d be nice shorthand equivalent for

d3.line().x(x).y(y)

and

d3.area().x(x).y0(y0).y1(y1)