Skip to content

Use d3-annotation with built-in annotation types, or extend it to make custom annotations. It is made for d3-v4 in SVG.

License

Notifications You must be signed in to change notification settings

susielu/d3-annotation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

d3-annotation

Full documentation: http://d3-annotation.susielu.com

Setup

Include the file directly

You must include the d3 library before including the annotation file. Then you can add the compiled js file to your website

Using CDN

You can add the latest version of d3-annotation hosted on cdnjs.

Using NPM

You can add d3-annotation as a node module by running

npm i d3-svg-annotation -S

Feedback

I would love to hear from you about any additional features that would be useful, please say hi on twitter @DataToViz.

Prior art