d3-chart-dot

0.0.0 • Public • Published

d3-chart-dot Build Status

Dot chart with D3.js

Install

$ npm install --save d3-chart-dot

Usage

const DotChart = require('d3-chart-dot');

const chart = new DotChart({
  target: '#chart',
  width: 760,
  mouseover: data => console.log('hovering:', data)
});

API

DotChart(options)

target

Type: string
Default: '#chart'

The element selector.

Development

# build assets & start a dev server
npm run watch

# bundle module for development
npm run build

# start a server on port 3000
npm start

# run code linter & optionally run tests
npm test

License

MIT © Luke Edwards

/d3-chart-dot/

    Package Sidebar

    Install

    npm i d3-chart-dot

    Weekly Downloads

    1

    Version

    0.0.0

    License

    MIT

    Last publish

    Collaborators

    • lukeed