Socket
Book a DemoInstallSign in
Socket

d3node-congress-map

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

d3node-congress-map

D3-Node congress maps

latest
Source
npmnpm
Version
0.0.4
Version published
Maintainers
1
Created
Source

US Congressional District Map

Usage

const d3nCongress = require('d3node-congress-map');

const styles = `
.democrat {fill: blue;}
.republican {fill: #red;}
`;

const map = d3nCongress(styles);

Output example

$ npm install
$ npm start

Output (png)

output

Keywords

d3

FAQs

Package last updated on 28 Apr 2017

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