npm stats
  • Search
  • About
  • Repo
  • Sponsor
  • more
    • Search
    • About
    • Repo
    • Sponsor

Made by Antonio Ramirez

d3-chart-dot

0.0.0

@lukeed

npmHomeRepoSnykSocket
Downloads:0
$ npm install d3-chart-dot
DailyWeeklyMonthlyYearly

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