Skip to content

Latest commit

 

History

History
27 lines (17 loc) · 312 Bytes

README.md

File metadata and controls

27 lines (17 loc) · 312 Bytes

d3-downloadable

Make SVG downloadable.

Install

$ npm install d3-downloadable

Usage

import * as d3 from 'd3'
import {downloadable} from 'd3-downloadable'

d3.select('svg#chart')
  .call(downloadable())

Example

http://likr.github.io/d3-downloadable

License

MIT