This project shows the make up for the US Senate by political party.
It pulls the Senate data from a csv file using d3.js and then maps the results to the political color codes.
The bar graph uses array push method to calculate the number of seats held by each party and display that result.
Clicking on each state pulls that state's senators and information provided by Google's Civic API.
- JavaScript
- Scss
- d3.JS
- Google civic API
- Set up base files and configuration
- Create CSV
- Pull informatin from CSV
- Mobile first design
- bar graph to show seats by majority
- Integrate Google Civic API
- Figure out what infomration from API to show
- Skelton replica
- Conditionals of click events
- Fix image conditions if none and https error
- Add social media share and cards
- Senators by State
- Senator Name
- Party
- Photo
- Website
- Phone Number