adror1 / sds192-mp2

Mini-project 2
0 stars 0 forks source link

Goal (a safe place for it) #4

Open MargPerry opened 7 years ago

MargPerry commented 7 years ago

Goal

The goal of this code is to tidy and graph the data to display the corrolations between the cortributions and the success of the candidate. In the end we want three bar graphs displaying Tea party, Rep party, and Dem party with candidates on the x axis, contributions on the y axis, and colored according to whether each candidate won or lost.

To handle contributions for vs contributions against: stack bar graph. Use value to differentiate for or against, and color to differentiate winning or losing (eg. a candidate who won will have contributions represented as dark blue for contributions for and light blue for contributions against, and a candidate who lost will have contributions represented as dark green for contributions for and light green for contributions against.)

We're focusing just on general elections.

kswanson33 commented 7 years ago

Our final data table needs: Candidate name, (maybe) candidate id, candidate party, contributions for, contributions against, total contributions, won or lost