Socket
Book a DemoInstallSign in
Socket

d3-chart-dot

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

d3-chart-dot

Dot chart with D3.js

latest
Source
npmnpm
Version
0.0.0
Version published
Maintainers
1
Created
Source

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

Keywords

d3

FAQs

Package last updated on 30 Oct 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts