https://github.com/d3-node/d3node-congress-map
US Congressional District Map example
https://github.com/d3-node/d3node-congress-map
example maps
Last synced: 5 months ago
JSON representation
US Congressional District Map example
- Host: GitHub
- URL: https://github.com/d3-node/d3node-congress-map
- Owner: d3-node
- Created: 2017-03-12T03:55:37.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-05-09T04:52:41.000Z (over 8 years ago)
- Last Synced: 2024-04-24T07:23:23.467Z (almost 2 years ago)
- Topics: example, maps
- Language: HTML
- Size: 1.83 MB
- Stars: 2
- Watchers: 3
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## US Congressional District Map
### Usage
```js
const d3nCongress = require('d3node-congress-map');
const styles = `
.democrat {fill: blue;}
.republican {fill: #red;}
`;
const map = d3nCongress(styles);
```
## Output example
```sh
$ npm install
$ npm start
```
### Output (png)
