Skip to content

d3-node/d3node-congress-map

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

US Congressional District Map example

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published