Git Product home page Git Product logo

my-congress's Introduction

My Congress

The my-congress project is a quick-turnaround development project aimed at building a focused app that makes it easy for citizens to discover and learn about their elected representatives.

View Application: My Congress

My Congress Splash screen

Resources

My Congress uses the Sunlight Labs Congress API. Visit their site for further data resources and information.

Issues

Find a bug or want to request a new feature? Please let us know by submitting an issue.

Contributing

Esri welcomes contributions from anyone and everyone. Please see our Please see our guidelines for contributing.

Licensing

Copyright 2014 Esri

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

A copy of the license is available in the repository's LICENSE.txt file.

[](Esri Tags: ArcGIS Government Congress App Senate Javascript) [](Esri Language: JavaScript)

my-congress's People

Contributors

ajturner avatar benheb avatar olearydw avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

my-congress's Issues

Orphaned Pie Charts

After generating pie charts for one representative, selecting a new representative results in the pie charts from the previous event becoming orphaned and remaining in the view.

Vote Breakdown - Search

(Enhancement) Either search the listing of 50 latest or allow search for a specific Bill or Issue that is available from the voting API.

Committees

Wire in committees.

TODO:

  • Connect to selected reps
  • Show all counties with reps in committee on hover

Search

Add search by rep name & zip code

Scroll Wheel Conflict

Page layout requires scrolling down after a legislator is selected and their details and voting record report is revealed. Scrolling with a mouse wheel causes map to zoom while page remains in place. Need to set disableScrollWheelZoom() in map.on('load') event.

Pie Charts

Add pie charts for break down of latest votes, rather than numbers. Easier to read/understand.

  • Chart for last 50 votes
  • Chart for % of time voting with party

Hover

Add information on hover, give more context

Hawaii

Click events work for Hawaii, but there is no congressional boundary and no mouseover

Refactor ZipCode Result Graphics Layer Approach

When searching by zip code, one or more legislators may get returned requiring an undefined number of info cards to be displayed. Currently, the app UI allows for 3 legislator info cards as hard-coded in the index.html page. The info cards should be dynamically rendered to a template and appended to the legislators div.

Map Style

Change default to blue and red | option for styled by committee number

Social Improvements

Improve the social nature of the application by adding social media and other contact resources available in the congress api

With Or Against Party (Independents)

Since Bernie (I-VT) is from my home state, I admit there's some bias here. The With or Against Party section should probably be grayed out or blocked for Indepedent congresspersons. Unless you're basing this on a tag of "who he caucuses with" in which case I think it's fine.

Census

precinct | when is next election | political | population by district (and party) | registered voters

Style map

Let's think about new ways to style the map, rather than just R v D

Wire Social Media Icons

Social media icons need to get wired into values in the ajax response for selected legislators

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.