mySelection.data() in D3.js

Get the data array for the first group in the selection.

Return Type
Array

Description

For more details see https://github.com/mbostock/d3/wiki/Selections#wiki-data.

See Also