d3 / d3-shape

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

README.md update to describe .data in d3.stack() #156

Closed fraziern closed 4 years ago

fraziern commented 4 years ago

Added a proposed note regarding the data property of arrays generated by d3.stack(), since the property is used often in examples but doesn't look to be documented here.

mbostock commented 4 years ago

A few paragraphs earlier it says:

The input data element for each point is available as point.data.

fraziern commented 4 years ago

Totally missed that - thanks!