d3-annotate
Interactively and programmatically add, edit, move and save SVG chart annotations
Installing
If you use NPM, npm install d3-annotate
. Otherwise, download the latest release.
API Reference (WIP)
var annotation = d3 // parent of annotation <text> elements // must be serializable, array index by default(a la d3.data) text `: ` ; // can be true, false or fn ; // .attr calls cary over to <text> // TODOannotation; // enable controls, true by default var bubbles = d3datateams;bubbles... bubbles;