Created
April 4, 2015 14:43
-
-
Save wmerrow/be16ec5617f68f1748c3 to your computer and use it in GitHub Desktop.
wbm Module 2 Exercise - PAC data
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<title>Will's Module 2 Exercise</title> | |
<script type="text/javascript" src="http://d3js.org/d3.v3.js"></script> | |
<style type="text/css"> | |
body { | |
background-color: whitesmoke | |
} | |
svg { | |
background-color: goldenrod | |
} | |
</style> | |
</head> | |
<body> | |
<p>Module 2 Exercise by Will / wbm</p> | |
<svg width="500" height="300"> | |
<line x1="50" y1="150" x2="450" y2="150" stroke="black" stroke-width="2"/> | |
<circle cx="200" cy="180" r="20" fill="black" /> | |
<circle cx="250" cy="180" r="10" fill="black" /> | |
<circle cx="300" cy="180" r="20" fill="black" /> | |
<circle cx="200" cy="120" r="10" fill="black" /> | |
<circle cx="250" cy="120" r="20" fill="black" /> | |
<circle cx="300" cy="120" r="10" fill="black" /> | |
</svg> | |
<script type="text/javascript"> | |
d3.csv("PACdata.csv", function(data) { | |
console.log(data); | |
} | |
); | |
</script> | |
</body> | |
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Election Year | Corporate PAC Contributions | Trade/Membership/Health PAC Contributions | Labor PAC Contributions | Nonconnected PAC Contributions | Other PAC Contributions | Total PAC Contributions | Corporate PACs | Trade/Membership/Health PACs | Labor PACs | Nonconnected PACs | Cooperative PACs | Corporate (without stock) PACs | Total PACs | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1978 | 9.5 | 11.2 | 9.9 | 2.5 | 1 | 34.1 | 704 | 122 | 215 | 400 | 11 | 22 | 1474 | |
1980 | 19.2 | 15.9 | 13.2 | 4.9 | 2 | 55.2 | 1037 | 463 | 225 | 201 | 27 | 44 | 1997 | |
1982 | 27.5 | 21.9 | 20.3 | 10.7 | 3.2 | 83.6 | 1317 | 407 | 293 | 204 | 46 | 78 | 2345 | |
1984 | 35.5 | 26.7 | 24.8 | 14.5 | 3.8 | 105.3 | 1584 | 598 | 261 | 576 | 51 | 117 | 3187 | |
1986 | 46.2 | 32.9 | 29.9 | 18.8 | 4.9 | 132.7 | 1584 | 598 | 261 | 576 | 51 | 117 | 3187 | |
1988 | 50.4 | 38.9 | 33.9 | 19.2 | 5.4 | 147.8 | 1616 | 633 | 256 | 630 | 51 | 122 | 3308 | |
1990 | 53.5 | 42.5 | 33.6 | 14.3 | 5.9 | 149.7 | 1540 | 609 | 233 | 511 | 51 | 114 | 3058 | |
1992 | 64.3 | 51.4 | 39.7 | 17.5 | 6.6 | 179.4 | 1514 | 633 | 255 | 534 | 48 | 114 | 3098 | |
1994 | 64.1 | 50.1 | 40.7 | 17.3 | 6.6 | 178.8 | 1468 | 633 | 255 | 509 | 50 | 112 | 3027 | |
1996 | 69.7 | 56.2 | 46.5 | 22 | 6.8 | 201.2 | 1470 | 650 | 236 | 529 | 41 | 109 | 3035 | |
1998 | 71.1 | 59 | 43.4 | 27.1 | 6.2 | 206.8 | 1425 | 664 | 232 | 560 | 41 | 102 | 3024 | |
2000 | 84.2 | 68.3 | 50.2 | 35.6 | 7.1 | 245.4 | 1365 | 662 | 236 | 670 | 37 | 94 | 3064 | |
2002 | 91.6 | 71.5 | 51.9 | 44.6 | 6.5 | 266.1 | 1359 | 697 | 215 | 700 | 36 | 86 | 3093 | |
2004 | 104.3 | 78.2 | 50.3 | 49.8 | 6.5 | 289.1 | 1402 | 722 | 206 | 819 | 34 | 75 | 3258 | |
2006 | 128.4 | 98.4 | 56.9 | 70.9 | 8.74 | 363.3 | 1463 | 734 | 202 | 870 | 35 | 89 | 3393 | |
2008 | 143.6 | 106.1 | 61 | 63.8 | 11.4 | 385.9 | 1470 | 794 | 203 | 1023 | 39 | 84 | 3613 | |
2010 | 153.7 | 126.2 | 61.6 | 53.6 | 11.7 | 406.8 | 1492 | 907 | 199 | 842 | 34 | 83 | 3557 | |
2012 | 167.1 | 117.1 | 52.7 | 77.1 | 11.5 | 425.5 | 1223 | 700 | 137 | 902 | 29 | 55 | 3046 | |
2014 | 183.4 | 136.5 | 50.9 | 72.8 | 12.2 | 455.8 | 1477 | 898 | 182 | 1003 | 37 | 67 | 3664 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment