An open API service indexing awesome lists of open source software.

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

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)
![output](./example/output.png)