mySelection.text() in D3.js

Get the textContent for a DOM element.

Return Type
String

Description

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

See Also