(This chart is a part of the d3-charts
collection available here.)
Example data from Sunlight Foundation's API:
"breakdown": {
"total": {
"Yea": 62,
"Nay": 36,
"Not Voting": 2,
"Present": 0
},
"party": {
"R": {
"Yea": 9,
"Nay": 36,
"Not Voting": 0,
"Present": 0
},
"D": {
"Yea": 52,
"Not Voting": 1,
"Nay": 0,
"Present": 0
},
"I": {
"Not Voting": 1,
"Yea": 1,
"Nay": 0,
"Present": 0
}
}
}
Otherwise:
Party,Not Voting,Yea,Nay,Present
D,52,1,0,0
R,9,36,0,0
I,1,1,0,0