Skip to content
Graphics of changes to legislative chambers and availability of contact information following an election
HTML JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
change-reports
geometry
images
.gitignore
README.md
chamber-change.csv
config.yml
html.js
index.html
index.js
package-lock.json
package.json

README.md

cicero chamber change reports

View Graphics: https://cicero-data.github.io/election-change-reports/

Calculate and display changes to legislative chambers when new officials take office following an election. Also display availability of email, webform, facebook and twitter contact information for officials in the chamber.

Swap-out and configure legislative data and geographies then automatically generate a series of infographics for each chamber following an election.

Learn More

Azavea

Cicero

A project of Cicero Data.

Read more about the methods used in this project on the Azavea Blog, "Leveraging Node.js, D3.js, and HTML Canvas for Scalable Infographics".

Data

This project is setup to generate reports on data of changes to legislative chambers between two dates. The file chamber-change.csv is the data used to generate reports.

Install

Requires Node.js.

Install dependencies with:

npm install

Setup Election

Edit config.yml to point to your election data.

Generate Reports

npm run reports

Images for each chamber will be written to the change-reports directory.

Generate Static HTML Page

npm run html

Graphics will be written to index.html. Publish this page using Github Pages

You can’t perform that action at this time.