From b56adc0a8f5c9d872ac75a60feef2964ee0f77c0 Mon Sep 17 00:00:00 2001 From: Matthew Gerring Date: Sun, 3 Feb 2013 11:42:40 -0800 Subject: [PATCH 1/9] new data again --- public/css/style.less | 24 ++++++++++++++++++++++++ scraper.py | 4 ++-- templates/footer.html | 2 ++ 3 files changed, 28 insertions(+), 2 deletions(-) diff --git a/public/css/style.less b/public/css/style.less index b3c3e5b..2daca48 100644 --- a/public/css/style.less +++ b/public/css/style.less @@ -87,6 +87,29 @@ footer { height:20px; background:white; } + .inner { + height:0; + text-align:center; + } + a.lister, a.locationer{ + background: url('../img/sprites.png') no-repeat; + position:relative; + display:inline-block; + text-indent:101%; + margin-right:10px; + } + + a.lister{ + background-position: -76px 0; + width: 65px; + height: 65px; + } + + a.locationer{ + background-position: 0 0; + width: 65px; + height: 65px; + } } body.footer-up { @@ -100,6 +123,7 @@ body.footer-up { .inner { bottom:0; height:120px; + padding-top:10px; } } } diff --git a/scraper.py b/scraper.py index d618b23..48f1528 100644 --- a/scraper.py +++ b/scraper.py @@ -35,9 +35,9 @@ def get_shape(leg_id): outfile.write(json.dumps(assembly_short_json)) outfile.close""" -csvfile = open('public/data/senatefileready.csv') +csvfile = open('public/data/assemblyfileready.csv') outjson = [] -outfile = open('public/data/ca/data-u.json','w') +outfile = open('public/data/ca/data-l.json','w') csvwriter = csv.DictReader(csvfile) for row in csvwriter: diff --git a/templates/footer.html b/templates/footer.html index 80e1cb2..e8d819b 100644 --- a/templates/footer.html +++ b/templates/footer.html @@ -2,4 +2,6 @@ OH HAI
+ List + List
\ No newline at end of file From 393ba0f8d9d2b066851855f18e9d3bbf255363ca Mon Sep 17 00:00:00 2001 From: Shawn Landden Date: Sun, 3 Feb 2013 11:45:53 -0800 Subject: [PATCH 2/9] data do cool stuff --- public/data/ca/data-l.json | 2 +- public/data/ca/data-u.json | 2 +- public/js/counties-overlay.js | 8 +++++--- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/public/data/ca/data-l.json b/public/data/ca/data-l.json index fcb9f7e..ed5f823 100644 --- a/public/data/ca/data-l.json +++ b/public/data/ca/data-l.json @@ -1 +1 @@ -[{"totalmoneyspentnorm": "18.07595", "moneypereligiblevoter": "1.49763", "district": "1", "nocontributionsnorm": "14.78238", "votesperregisterednorm": "66.41369", "votespereligiblenorm": "42.49041", "votesperregistered": ".6540452", "moneypereligiblevoternorm": "9.763599", "votespereligible": ".5049045", "totalmoneyspent": "525064.6", "nocontributions": "662"}, {"totalmoneyspentnorm": "7.680265", "moneypereligiblevoter": ".874553", "district": "2", "nocontributionsnorm": "7.185166", "votesperregisterednorm": "73.30583", "votespereligiblenorm": "52.80351", "votesperregistered": ".6722078", "moneypereligiblevoternorm": "4.008619", "votespereligible": ".5427832", "totalmoneyspent": "284791.2", "nocontributions": "367"}, {"totalmoneyspentnorm": "29.34159", "moneypereligiblevoter": "2.519139", "district": "3", "nocontributionsnorm": "15.16868", "votesperregisterednorm": "74.68219", "votespereligiblenorm": "41.20877", "votesperregistered": ".6758348", "moneypereligiblevoternorm": "19.19865", "votespereligible": ".5001972", "totalmoneyspent": "785444.9", "nocontributions": "677"}, {"totalmoneyspentnorm": "30.05023", "moneypereligiblevoter": "2.621152", "district": "4", "nocontributionsnorm": "14.96266", "votesperregisterednorm": "89.37143", "votespereligiblenorm": "59.02212", "votesperregistered": ".7145447", "moneypereligiblevoternorm": "20.14088", "votespereligible": ".5656233", "totalmoneyspent": "801823.5", "nocontributions": "669"}, {"totalmoneyspentnorm": "30.98417", "moneypereligiblevoter": "2.581537", "district": "5", "nocontributionsnorm": "16.37909", "votesperregisterednorm": "67.82362", "votespereligiblenorm": "39.34842", "votesperregistered": ".6577607", "moneypereligiblevoternorm": "19.77498", "votespereligible": ".4933644", "totalmoneyspent": "823409.5", "nocontributions": "724"}, {"totalmoneyspentnorm": "24.12859", "moneypereligiblevoter": "2.11356", "district": "6", "nocontributionsnorm": "36.13186", "votesperregisterednorm": "73.96852", "votespereligiblenorm": "65.59515", "votesperregistered": ".6739541", "moneypereligiblevoternorm": "15.45257", "votespereligible": ".5897653", "totalmoneyspent": "664957.8", "nocontributions": "1491"}, {"totalmoneyspentnorm": "6.900746", "moneypereligiblevoter": ".9314712", "district": "7", "nocontributionsnorm": "4.738604", "votesperregisterednorm": "63.39667", "votespereligiblenorm": "36.36048", "votesperregistered": ".6460946", "moneypereligiblevoternorm": "4.534338", "votespereligible": ".4823901", "totalmoneyspent": "266774.3", "nocontributions": "272"}, {"totalmoneyspentnorm": "28.27489", "moneypereligiblevoter": "2.453609", "district": "8", "nocontributionsnorm": "12.61911", "votesperregisterednorm": "82.95155", "votespereligiblenorm": "54.85402", "votesperregistered": ".6976267", "moneypereligiblevoternorm": "18.59339", "votespereligible": ".5503144", "totalmoneyspent": "760790.4", "nocontributions": "578"}, {"totalmoneyspentnorm": "27.07014", "moneypereligiblevoter": "2.726823", "district": "9", "nocontributionsnorm": "19.00592", "votesperregisterednorm": "71.89938", "votespereligiblenorm": "53.14058", "votesperregistered": ".6685014", "moneypereligiblevoternorm": "21.1169", "votespereligible": ".5440212", "totalmoneyspent": "732945.4", "nocontributions": "826"}, {"totalmoneyspentnorm": "42.16194", "moneypereligiblevoter": "3.52275", "district": "10", "nocontributionsnorm": "23.9248", "votesperregisterednorm": "85.79909", "votespereligiblenorm": "72.0588", "votesperregistered": ".7051307", "moneypereligiblevoternorm": "28.46839", "votespereligible": ".6135054", "totalmoneyspent": "1081759", "nocontributions": "1017"}, {"totalmoneyspentnorm": "19.46901", "moneypereligiblevoter": "1.954928", "district": "11", "nocontributionsnorm": "14.19006", "votesperregisterednorm": "79.41016", "votespereligiblenorm": "54.32211", "votesperregistered": ".6882942", "moneypereligiblevoternorm": "13.98738", "votespereligible": ".5483608", "totalmoneyspent": "557262", "nocontributions": "639"}, {"totalmoneyspentnorm": "16.41729", "moneypereligiblevoter": "1.723841", "district": "12", "nocontributionsnorm": "11.25418", "votesperregisterednorm": "75.621", "votespereligiblenorm": "48.06177", "votesperregistered": ".6783088", "moneypereligiblevoternorm": "11.85297", "votespereligible": ".5253674", "totalmoneyspent": "486728.2", "nocontributions": "525"}, {"totalmoneyspentnorm": "11.6468", "moneypereligiblevoter": "1.529677", "district": "13", "nocontributionsnorm": "10.68761", "votesperregisterednorm": "58.86876", "votespereligiblenorm": "38.18582", "votesperregistered": ".6341624", "moneypereligiblevoternorm": "10.0596", "votespereligible": ".4890943", "totalmoneyspent": "376468.8", "nocontributions": "503"}, {"totalmoneyspentnorm": "12.77707", "moneypereligiblevoter": "1.340376", "district": "14", "nocontributionsnorm": "7.622972", "votesperregisterednorm": "30.07976", "votespereligiblenorm": "28.15171", "votesperregistered": ".5582961", "moneypereligiblevoternorm": "8.311136", "votespereligible": ".4522403", "totalmoneyspent": "402592.5", "nocontributions": "384"}, {"totalmoneyspentnorm": "26.71057", "moneypereligiblevoter": "2.330382", "district": "15", "nocontributionsnorm": "14.39609", "votesperregisterednorm": "78.56012", "votespereligiblenorm": "71.46856", "votesperregistered": ".6860542", "moneypereligiblevoternorm": "17.45522", "votespereligible": ".6113375", "totalmoneyspent": "724634.6", "nocontributions": "647"}, {"totalmoneyspentnorm": "13.02677", "moneypereligiblevoter": "1.374546", "district": "16", "nocontributionsnorm": "5.588462", "votesperregisterednorm": "100", "votespereligiblenorm": "100", "votesperregistered": ".7425537", "moneypereligiblevoternorm": "8.626746", "votespereligible": ".7161298", "totalmoneyspent": "408363.8", "nocontributions": "305"}, {"totalmoneyspentnorm": "3.389412", "moneypereligiblevoter": ".5641802", "district": "17", "nocontributionsnorm": "11.33144", "votesperregisterednorm": "63.31126", "votespereligiblenorm": "59.65078", "votesperregistered": ".6458696", "moneypereligiblevoternorm": "1.141897", "votespereligible": ".5679323", "totalmoneyspent": "185617.5", "nocontributions": "528"}, {"totalmoneyspentnorm": "35.86565", "moneypereligiblevoter": "3.322441", "district": "18", "nocontributionsnorm": "50.73397", "votesperregisterednorm": "54.58508", "votespereligiblenorm": "50.22915", "votesperregistered": ".6228738", "moneypereligiblevoternorm": "26.61826", "votespereligible": ".5333279", "totalmoneyspent": "936234.1", "nocontributions": "2058"}, {"totalmoneyspentnorm": "44.29269", "moneypereligiblevoter": "3.353933", "district": "19", "nocontributionsnorm": "21.32372", "votesperregisterednorm": "47.96135", "votespereligiblenorm": "33.44369", "votesperregistered": ".6054186", "moneypereligiblevoternorm": "26.90913", "votespereligible": ".4716771", "totalmoneyspent": "1131007", "nocontributions": "916"}, {"totalmoneyspentnorm": "29.59693", "moneypereligiblevoter": "2.964256", "district": "20", "nocontributionsnorm": "25.1352", "votesperregisterednorm": "50.66113", "votespereligiblenorm": "40.80577", "votesperregistered": ".6125332", "moneypereligiblevoternorm": "23.30992", "votespereligible": ".498717", "totalmoneyspent": "791346.6", "nocontributions": "1064"}, {"totalmoneyspentnorm": "23.15648", "moneypereligiblevoter": "2.713973", "district": "21", "nocontributionsnorm": "12.9539", "votesperregisterednorm": "43.83598", "votespereligiblenorm": "30.24758", "votesperregistered": ".5945472", "moneypereligiblevoternorm": "20.99821", "votespereligible": ".4599382", "totalmoneyspent": "642489.6", "nocontributions": "591"}, {"totalmoneyspentnorm": "7.154834", "moneypereligiblevoter": ".9414476", "district": "22", "nocontributionsnorm": "6.155035", "votesperregisterednorm": "92.46365", "votespereligiblenorm": "71.61636", "votesperregistered": ".7226935", "moneypereligiblevoternorm": "4.626483", "votespereligible": ".6118804", "totalmoneyspent": "272647", "nocontributions": "327"}, {"totalmoneyspentnorm": "13.45397", "moneypereligiblevoter": "1.409878", "district": "23", "nocontributionsnorm": "13.41746", "votesperregisterednorm": "51.47273", "votespereligiblenorm": "45.69823", "votesperregistered": ".614672", "moneypereligiblevoternorm": "8.953088", "votespereligible": ".5166864", "totalmoneyspent": "418237.5", "nocontributions": "609"}, {"totalmoneyspentnorm": "16.60315", "moneypereligiblevoter": "1.867828", "district": "24", "nocontributionsnorm": "11.53747", "votesperregisterednorm": "97.00726", "votespereligiblenorm": "78.8308", "votesperregistered": ".7346671", "moneypereligiblevoternorm": "13.18289", "votespereligible": ".638378", "totalmoneyspent": "491024", "nocontributions": "536"}, {"totalmoneyspentnorm": "15.67719", "moneypereligiblevoter": "1.831665", "district": "25", "nocontributionsnorm": "10.89364", "votesperregisterednorm": "72.79993", "votespereligiblenorm": "45.88115", "votesperregistered": ".6708746", "moneypereligiblevoternorm": "12.84887", "votespereligible": ".5173582", "totalmoneyspent": "469622.4", "nocontributions": "511"}, {"totalmoneyspentnorm": "36.50013", "moneypereligiblevoter": "3.944427", "district": "26", "nocontributionsnorm": "14.03554", "votesperregisterednorm": "74.03554", "votespereligiblenorm": "27.49285", "votesperregistered": ".6741307", "moneypereligiblevoternorm": "32.36316", "votespereligible": ".4498204", "totalmoneyspent": "950898.9", "nocontributions": "633"}, {"totalmoneyspentnorm": "11.8748", "moneypereligiblevoter": "1.588671", "district": "27", "nocontributionsnorm": "5.949008", "votesperregisterednorm": "67.912", "votespereligiblenorm": "39.0396", "votesperregistered": ".6579937", "moneypereligiblevoternorm": "10.60449", "votespereligible": ".4922301", "totalmoneyspent": "381738.5", "nocontributions": "319"}, {"totalmoneyspentnorm": "17.82459", "moneypereligiblevoter": "1.770219", "district": "28", "nocontributionsnorm": "12.74788", "votesperregisterednorm": "86.13097", "votespereligiblenorm": "66.80676", "votesperregistered": ".7060053", "moneypereligiblevoternorm": "12.28134", "votespereligible": ".5942153", "totalmoneyspent": "519254.9", "nocontributions": "583"}, {"totalmoneyspentnorm": "2.602483", "moneypereligiblevoter": ".5208876", "district": "29", "nocontributionsnorm": "5.02189", "votesperregisterednorm": "92.50517", "votespereligiblenorm": "74.18434", "votesperregistered": ".7228029", "moneypereligiblevoternorm": ".7420297", "votespereligible": ".6213122", "totalmoneyspent": "167429.4", "nocontributions": "283"}, {"totalmoneyspentnorm": "6.740235", "moneypereligiblevoter": "1.195753", "district": "30", "nocontributionsnorm": "4.687098", "votesperregisterednorm": "82.55074", "votespereligiblenorm": "54.85944", "votesperregistered": ".6965705", "moneypereligiblevoternorm": "6.975345", "votespereligible": ".5503343", "totalmoneyspent": "263064.4", "nocontributions": "270"}, {"totalmoneyspentnorm": "28.92692", "moneypereligiblevoter": "3.662537", "district": "31", "nocontributionsnorm": "12.74788", "votesperregisterednorm": "19.03287", "votespereligiblenorm": "16.72155", "votesperregistered": ".5291847", "moneypereligiblevoternorm": "29.75951", "votespereligible": ".4102588", "totalmoneyspent": "775860.8", "nocontributions": "583"}, {"totalmoneyspentnorm": "21.61703", "moneypereligiblevoter": "2.890909", "district": "32", "nocontributionsnorm": "10.24981", "votesperregisterednorm": "31.13954", "votespereligiblenorm": "0", "votesperregistered": ".5610889", "moneypereligiblevoternorm": "22.63246", "votespereligible": ".3488427", "totalmoneyspent": "606908.8", "nocontributions": "486"}, {"totalmoneyspentnorm": "15.85001", "moneypereligiblevoter": "1.782658", "district": "33", "nocontributionsnorm": "10.22405", "votesperregisterednorm": "60.89044", "votespereligiblenorm": "33.17297", "votesperregistered": ".6394901", "moneypereligiblevoternorm": "12.39623", "votespereligible": ".4706828", "totalmoneyspent": "473616.7", "nocontributions": "485"}, {"totalmoneyspentnorm": "11.09131", "moneypereligiblevoter": "1.311664", "district": "34", "nocontributionsnorm": "3.888746", "votesperregisterednorm": "78.41537", "votespereligiblenorm": "55.91021", "votesperregistered": ".6856727", "moneypereligiblevoternorm": "8.045946", "votespereligible": ".5541937", "totalmoneyspent": "363630", "nocontributions": "239"}, {"totalmoneyspentnorm": "9.700483", "moneypereligiblevoter": "1.122301", "district": "35", "nocontributionsnorm": "6.695854", "votesperregisterednorm": "97.45423", "votespereligiblenorm": "61.04911", "votesperregistered": ".735845", "moneypereligiblevoternorm": "6.296917", "votespereligible": ".5730682", "totalmoneyspent": "331484", "nocontributions": "348"}, {"totalmoneyspentnorm": "6.860922", "moneypereligiblevoter": "1.072558", "district": "36", "nocontributionsnorm": "3.476693", "votesperregisterednorm": "59.31712", "votespereligiblenorm": "49.86617", "votesperregistered": ".635344", "moneypereligiblevoternorm": "5.837468", "votespereligible": ".5319947", "totalmoneyspent": "265853.8", "nocontributions": "223"}, {"totalmoneyspentnorm": "14.24034", "moneypereligiblevoter": "1.42117", "district": "37", "nocontributionsnorm": "10.12104", "votesperregisterednorm": "94.53835", "votespereligiblenorm": "74.52343", "votesperregistered": ".7281609", "moneypereligiblevoternorm": "9.057381", "votespereligible": ".6225576", "totalmoneyspent": "436412.8", "nocontributions": "481"}, {"totalmoneyspentnorm": "18.26993", "moneypereligiblevoter": "1.785779", "district": "38", "nocontributionsnorm": "13.85527", "votesperregisterednorm": "74.43174", "votespereligiblenorm": "66.55589", "votesperregistered": ".6751748", "moneypereligiblevoternorm": "12.42506", "votespereligible": ".5932939", "totalmoneyspent": "529547.9", "nocontributions": "626"}, {"totalmoneyspentnorm": "42.42812", "moneypereligiblevoter": "4.786803", "district": "39", "nocontributionsnorm": "24.25959", "votesperregisterednorm": "30.7373", "votespereligiblenorm": "33.48746", "votesperregistered": ".5600289", "moneypereligiblevoternorm": "40.14367", "votespereligible": ".4718378", "totalmoneyspent": "1087911", "nocontributions": "1030"}, {"totalmoneyspentnorm": "13.86719", "moneypereligiblevoter": "1.541535", "district": "40", "nocontributionsnorm": "11.3572", "votesperregisterednorm": "51.15918", "votespereligiblenorm": "32.12099", "votesperregistered": ".6138457", "moneypereligiblevoternorm": "10.16912", "votespereligible": ".466819", "totalmoneyspent": "427788.3", "nocontributions": "529"}, {"totalmoneyspentnorm": "58.92004", "moneypereligiblevoter": "4.526796", "district": "41", "nocontributionsnorm": "32.21736", "votesperregisterednorm": "77.85656", "votespereligiblenorm": "64.51114", "votesperregistered": ".6842001", "moneypereligiblevoternorm": "37.74214", "votespereligible": ".5857838", "totalmoneyspent": "1469086", "nocontributions": "1339"}, {"totalmoneyspentnorm": "16.74702", "moneypereligiblevoter": "1.566434", "district": "42", "nocontributionsnorm": "6.489828", "votesperregisterednorm": "79.34147", "votespereligiblenorm": "34.07771", "votesperregistered": ".6881132", "moneypereligiblevoternorm": "10.3991", "votespereligible": ".4740058", "totalmoneyspent": "494349.2", "nocontributions": "340"}, {"totalmoneyspentnorm": "33.74802", "moneypereligiblevoter": "3.003567", "district": "43", "nocontributionsnorm": "21.47824", "votesperregisterednorm": "57.22227", "votespereligiblenorm": "51.49414", "votesperregistered": ".6298235", "moneypereligiblevoternorm": "23.67302", "votespereligible": ".5379741", "totalmoneyspent": "887289.9", "nocontributions": "922"}, {"totalmoneyspentnorm": "8.493597", "moneypereligiblevoter": "1.160546", "district": "44", "nocontributionsnorm": "6.103528", "votesperregisterednorm": "87.45062", "votespereligiblenorm": "74.60764", "votesperregistered": ".7094829", "moneypereligiblevoternorm": "6.650161", "votespereligible": ".6228669", "totalmoneyspent": "303589.5", "nocontributions": "325"}, {"totalmoneyspentnorm": "17.0544", "moneypereligiblevoter": "1.786898", "district": "45", "nocontributionsnorm": "9.065156", "votesperregisterednorm": "57.33312", "votespereligiblenorm": "58.71966", "votesperregistered": ".6301156", "moneypereligiblevoternorm": "12.43539", "votespereligible": ".5645124", "totalmoneyspent": "501453.6", "nocontributions": "440"}, {"totalmoneyspentnorm": "49.00382", "moneypereligiblevoter": "5.005507", "district": "46", "nocontributionsnorm": "44.47592", "votesperregisterednorm": "51.63416", "votespereligiblenorm": "48.78868", "votesperregistered": ".6150974", "moneypereligiblevoternorm": "42.1637", "votespereligible": ".5280373", "totalmoneyspent": "1239894", "nocontributions": "1815"}, {"totalmoneyspentnorm": "12.0687", "moneypereligiblevoter": "1.770962", "district": "47", "nocontributionsnorm": "10.84213", "votesperregisterednorm": "29.95378", "votespereligiblenorm": "24.75865", "votesperregistered": ".5579641", "moneypereligiblevoternorm": "12.2882", "votespereligible": ".4397781", "totalmoneyspent": "386220.3", "nocontributions": "509"}, {"totalmoneyspentnorm": "17.81255", "moneypereligiblevoter": "2.033735", "district": "48", "nocontributionsnorm": "7.725985", "votesperregisterednorm": "43.12364", "votespereligiblenorm": "38.99665", "votesperregistered": ".59267", "moneypereligiblevoternorm": "14.71527", "votespereligible": ".4920724", "totalmoneyspent": "518976.5", "nocontributions": "388"}, {"totalmoneyspentnorm": "39.95673", "moneypereligiblevoter": "3.744081", "district": "49", "nocontributionsnorm": "26.73191", "votesperregisterednorm": "31.74073", "votespereligiblenorm": "18.6943", "votesperregistered": ".5626732", "moneypereligiblevoternorm": "30.51269", "votespereligible": ".4175045", "totalmoneyspent": "1030791", "nocontributions": "1126"}, {"totalmoneyspentnorm": "100", "moneypereligiblevoter": "6.945369", "district": "50", "nocontributionsnorm": "100", "votesperregisterednorm": "44.19389", "votespereligiblenorm": "49.81191", "votesperregistered": ".5954904", "moneypereligiblevoternorm": "60.08102", "votespereligible": ".5317954", "totalmoneyspent": "2418558", "nocontributions": "3971"}, {"totalmoneyspentnorm": "38.29944", "moneypereligiblevoter": "4.333848", "district": "51", "nocontributionsnorm": "50.83698", "votesperregisterednorm": "26.83591", "votespereligiblenorm": "30.9377", "votesperregistered": ".5497477", "moneypereligiblevoternorm": "35.96001", "votespereligible": ".4624729", "totalmoneyspent": "992485.9", "nocontributions": "2062"}, {"totalmoneyspentnorm": "12.64157", "moneypereligiblevoter": "1.614668", "district": "52", "nocontributionsnorm": "6.567087", "votesperregisterednorm": "40.27674", "votespereligiblenorm": "15.99081", "votesperregistered": ".5851677", "moneypereligiblevoternorm": "10.84461", "votespereligible": ".4075749", "totalmoneyspent": "399460.7", "nocontributions": "343"}, {"totalmoneyspentnorm": "75.35683", "moneypereligiblevoter": "11.2673", "district": "53", "nocontributionsnorm": "20.60263", "votesperregisterednorm": "15.20467", "votespereligiblenorm": "28.55066", "votesperregistered": ".5190964", "moneypereligiblevoternorm": "100", "votespereligible": ".4537056", "totalmoneyspent": "1848986", "nocontributions": "888"}, {"totalmoneyspentnorm": "8.970024", "moneypereligiblevoter": "1.067458", "district": "54", "nocontributionsnorm": "6.258048", "votesperregisterednorm": "56.81872", "votespereligiblenorm": "64.11926", "votesperregistered": ".62876", "moneypereligiblevoternorm": "5.79036", "votespereligible": ".5843444", "totalmoneyspent": "314601.1", "nocontributions": "331"}, {"totalmoneyspentnorm": "15.0054", "moneypereligiblevoter": "1.580425", "district": "55", "nocontributionsnorm": "8.524337", "votesperregisterednorm": "57.52382", "votespereligiblenorm": "59.46206", "votesperregistered": ".6306182", "moneypereligiblevoternorm": "10.52832", "votespereligible": ".5672392", "totalmoneyspent": "454095.5", "nocontributions": "419"}, {"totalmoneyspentnorm": "15.58161", "moneypereligiblevoter": "2.057241", "district": "56", "nocontributionsnorm": "6.618594", "votesperregisterednorm": "60.05554", "votespereligiblenorm": "25.32387", "votesperregistered": ".6372899", "moneypereligiblevoternorm": "14.93238", "votespereligible": ".441854", "totalmoneyspent": "467413.3", "nocontributions": "345"}, {"totalmoneyspentnorm": "21.92945", "moneypereligiblevoter": "2.285593", "district": "57", "nocontributionsnorm": "7.391192", "votesperregisterednorm": "44.35228", "votespereligiblenorm": "43.31135", "votesperregistered": ".5959078", "moneypereligiblevoternorm": "17.04152", "votespereligible": ".5079197", "totalmoneyspent": "614129.6", "nocontributions": "375"}, {"totalmoneyspentnorm": "40.90834", "moneypereligiblevoter": "4.221626", "district": "58", "nocontributionsnorm": "14.65362", "votesperregisterednorm": "38.42729", "votespereligiblenorm": "43.34464", "votesperregistered": ".580294", "moneypereligiblevoternorm": "34.92347", "votespereligible": ".508042", "totalmoneyspent": "1052785", "nocontributions": "657"}, {"totalmoneyspentnorm": "9.355019", "moneypereligiblevoter": "1.919331", "district": "59", "nocontributionsnorm": "6.155035", "votesperregisterednorm": "2.913424", "votespereligiblenorm": "30.1609", "votesperregistered": ".4867059", "moneypereligiblevoternorm": "13.65859", "votespereligible": ".4596198", "totalmoneyspent": "323499.4", "nocontributions": "327"}, {"totalmoneyspentnorm": "0", "moneypereligiblevoter": ".4405499", "district": "60", "nocontributionsnorm": "2.266289", "votesperregisterednorm": "56.83014", "votespereligiblenorm": "35.88609", "votesperregistered": ".6287901", "moneypereligiblevoternorm": "0", "votespereligible": ".4806477", "totalmoneyspent": "107278.8", "nocontributions": "176"}, {"totalmoneyspentnorm": "17.28694", "moneypereligiblevoter": "2.177069", "district": "61", "nocontributionsnorm": "8.035025", "votesperregisterednorm": "44.5323", "votespereligiblenorm": "52.11986", "votesperregistered": ".5963822", "moneypereligiblevoternorm": "16.03916", "votespereligible": ".5402722", "totalmoneyspent": "506828.3", "nocontributions": "400"}, {"totalmoneyspentnorm": "15.78946", "moneypereligiblevoter": "1.745275", "district": "62", "nocontributionsnorm": "7.082153", "votesperregisterednorm": "33.46066", "votespereligiblenorm": "41.87909", "votesperregistered": ".5672056", "moneypereligiblevoternorm": "12.05095", "votespereligible": ".5026592", "totalmoneyspent": "472217.4", "nocontributions": "363"}, {"totalmoneyspentnorm": "16.30568", "moneypereligiblevoter": "2.339311", "district": "63", "nocontributionsnorm": "10.99665", "votesperregisterednorm": "29.39378", "votespereligiblenorm": "39.66852", "votesperregistered": ".5564883", "moneypereligiblevoternorm": "17.53769", "votespereligible": ".4945401", "totalmoneyspent": "484148.5", "nocontributions": "515"}, {"totalmoneyspentnorm": "26.09498", "moneypereligiblevoter": "3.335509", "district": "64", "nocontributionsnorm": "8.575844", "votesperregisterednorm": "0", "votespereligiblenorm": "33.42682", "votesperregistered": ".4790283", "moneypereligiblevoternorm": "26.73896", "votespereligible": ".4716151", "totalmoneyspent": "710406.7", "nocontributions": "421"}, {"totalmoneyspentnorm": "14.53782", "moneypereligiblevoter": "1.742705", "district": "65", "nocontributionsnorm": "13.77801", "votesperregisterednorm": "33.76517", "votespereligiblenorm": "46.91364", "votesperregistered": ".5680081", "moneypereligiblevoternorm": "12.02721", "votespereligible": ".5211505", "totalmoneyspent": "443288.4", "nocontributions": "623"}, {"totalmoneyspentnorm": "44.89483", "moneypereligiblevoter": "3.776869", "district": "66", "nocontributionsnorm": "31.67654", "votesperregisterednorm": "74.9183", "votespereligiblenorm": "72.53426", "votesperregistered": ".676457", "moneypereligiblevoternorm": "30.81553", "votespereligible": ".6152517", "totalmoneyspent": "1144924", "nocontributions": "1318"}, {"totalmoneyspentnorm": "21.27171", "moneypereligiblevoter": "2.369091", "district": "67", "nocontributionsnorm": "16.63662", "votesperregisterednorm": "48.27258", "votespereligiblenorm": "43.37093", "votesperregistered": ".6062388", "moneypereligiblevoternorm": "17.81275", "votespereligible": ".5081385", "totalmoneyspent": "598927.5", "nocontributions": "734"}, {"totalmoneyspentnorm": "4.137113", "moneypereligiblevoter": ".7162641", "district": "68", "nocontributionsnorm": "3.244914", "votesperregisterednorm": "61.88164", "votespereligiblenorm": "70.48625", "votesperregistered": ".6421021", "moneypereligiblevoternorm": "2.546602", "votespereligible": ".6077296", "totalmoneyspent": "202899", "nocontributions": "214"}, {"totalmoneyspentnorm": "26.86956", "moneypereligiblevoter": "4.211634", "district": "69", "nocontributionsnorm": "21.37523", "votesperregisterednorm": "12.04589", "votespereligiblenorm": "37.75584", "votesperregistered": ".5107722", "moneypereligiblevoternorm": "34.83119", "votespereligible": ".487515", "totalmoneyspent": "728309.5", "nocontributions": "918"}, {"totalmoneyspentnorm": "11.27337", "moneypereligiblevoter": "1.303945", "district": "70", "nocontributionsnorm": "0", "votesperregisterednorm": "46.26643", "votespereligiblenorm": "52.68773", "votesperregistered": ".6009521", "moneypereligiblevoternorm": "7.974652", "votespereligible": ".5423579", "totalmoneyspent": "367837.8", "nocontributions": "88"}, {"totalmoneyspentnorm": "4.203743", "moneypereligiblevoter": ".6826671", "district": "71", "nocontributionsnorm": "2.601082", "votesperregisterednorm": "85.6908", "votespereligiblenorm": "58.6632", "votesperregistered": ".7048453", "moneypereligiblevoternorm": "2.236287", "votespereligible": ".5643051", "totalmoneyspent": "204439", "nocontributions": "189"}, {"totalmoneyspentnorm": "24.3407", "moneypereligiblevoter": "2.257345", "district": "72", "nocontributionsnorm": "8.009272", "votesperregisterednorm": "17.11005", "votespereligiblenorm": "35.39269", "votesperregistered": ".5241176", "moneypereligiblevoternorm": "16.78062", "votespereligible": ".4788355", "totalmoneyspent": "669860.3", "nocontributions": "399"}, {"totalmoneyspentnorm": "10.95379", "moneypereligiblevoter": "1.185528", "district": "73", "nocontributionsnorm": "8.138038", "votesperregisterednorm": "71.88299", "votespereligiblenorm": "86.11257", "votesperregistered": ".6684582", "moneypereligiblevoternorm": "6.880903", "votespereligible": ".665123", "totalmoneyspent": "360451.4", "nocontributions": "404"}, {"totalmoneyspentnorm": "22.46913", "moneypereligiblevoter": "1.92186", "district": "74", "nocontributionsnorm": "12.49034", "votesperregisterednorm": "56.13726", "votespereligiblenorm": "67.61848", "votesperregistered": ".6269642", "moneypereligiblevoternorm": "13.68195", "votespereligible": ".5971966", "totalmoneyspent": "626603.3", "nocontributions": "573"}, {"totalmoneyspentnorm": "5.301457", "moneypereligiblevoter": ".8927131", "district": "75", "nocontributionsnorm": "3.811486", "votesperregisterednorm": "86.31517", "votespereligiblenorm": "71.56692", "votesperregistered": ".7064907", "moneypereligiblevoternorm": "4.176353", "votespereligible": ".6116987", "totalmoneyspent": "229810.3", "nocontributions": "236"}, {"totalmoneyspentnorm": "25.16611", "moneypereligiblevoter": "2.342267", "district": "76", "nocontributionsnorm": "27.8393", "votesperregisterednorm": "67.10542", "votespereligiblenorm": "45.55613", "votesperregistered": ".6558681", "moneypereligiblevoternorm": "17.56499", "votespereligible": ".5161645", "totalmoneyspent": "688938", "nocontributions": "1169"}, {"totalmoneyspentnorm": "8.939292", "moneypereligiblevoter": "1.011862", "district": "77", "nocontributionsnorm": "5.588462", "votesperregisterednorm": "93.12328", "votespereligiblenorm": "71.90247", "votesperregistered": ".7244318", "moneypereligiblevoternorm": "5.27686", "votespereligible": ".6129312", "totalmoneyspent": "313890.8", "nocontributions": "305"}, {"totalmoneyspentnorm": "18.5926", "moneypereligiblevoter": "1.524723", "district": "78", "nocontributionsnorm": "9.219675", "votesperregisterednorm": "77.10713", "votespereligiblenorm": "49.97825", "votesperregistered": ".6822252", "moneypereligiblevoternorm": "10.01384", "votespereligible": ".5324064", "totalmoneyspent": "537005.8", "nocontributions": "446"}, {"totalmoneyspentnorm": "27.47643", "moneypereligiblevoter": "2.621011", "district": "79", "nocontributionsnorm": "32.50064", "votesperregisterednorm": "68.66037", "votespereligiblenorm": "51.71169", "votesperregistered": ".6599658", "moneypereligiblevoternorm": "20.13958", "votespereligible": ".5387731", "totalmoneyspent": "742335.9", "nocontributions": "1350"}, {"totalmoneyspentnorm": "10.15001", "moneypereligiblevoter": "1.503211", "district": "80", "nocontributionsnorm": "4.403811", "votesperregisterednorm": "52.66175", "votespereligiblenorm": "36.09173", "votesperregistered": ".6178054", "moneypereligiblevoternorm": "9.815147", "votespereligible": ".481403", "totalmoneyspent": "341873.8", "nocontributions": "259"}] \ No newline at end of file +{"1":{"totalmoneyspentnorm":"18.07595","moneypereligiblevoter":"1.49763","district":"1","nocontributionsnorm":"14.78238","votesperregisterednorm":"66.41369","votespereligiblenorm":"42.49041","votesperregistered":".6540452","moneypereligiblevoternorm":"9.763599","votespereligible":".5049045","totalmoneyspent":"525064.6","nocontributions":"662"},"2":{"totalmoneyspentnorm":"7.680265","moneypereligiblevoter":".874553","district":"2","nocontributionsnorm":"7.185166","votesperregisterednorm":"73.30583","votespereligiblenorm":"52.80351","votesperregistered":".6722078","moneypereligiblevoternorm":"4.008619","votespereligible":".5427832","totalmoneyspent":"284791.2","nocontributions":"367"},"3":{"totalmoneyspentnorm":"29.34159","moneypereligiblevoter":"2.519139","district":"3","nocontributionsnorm":"15.16868","votesperregisterednorm":"74.68219","votespereligiblenorm":"41.20877","votesperregistered":".6758348","moneypereligiblevoternorm":"19.19865","votespereligible":".5001972","totalmoneyspent":"785444.9","nocontributions":"677"},"4":{"totalmoneyspentnorm":"30.05023","moneypereligiblevoter":"2.621152","district":"4","nocontributionsnorm":"14.96266","votesperregisterednorm":"89.37143","votespereligiblenorm":"59.02212","votesperregistered":".7145447","moneypereligiblevoternorm":"20.14088","votespereligible":".5656233","totalmoneyspent":"801823.5","nocontributions":"669"},"5":{"totalmoneyspentnorm":"30.98417","moneypereligiblevoter":"2.581537","district":"5","nocontributionsnorm":"16.37909","votesperregisterednorm":"67.82362","votespereligiblenorm":"39.34842","votesperregistered":".6577607","moneypereligiblevoternorm":"19.77498","votespereligible":".4933644","totalmoneyspent":"823409.5","nocontributions":"724"},"6":{"totalmoneyspentnorm":"24.12859","moneypereligiblevoter":"2.11356","district":"6","nocontributionsnorm":"36.13186","votesperregisterednorm":"73.96852","votespereligiblenorm":"65.59515","votesperregistered":".6739541","moneypereligiblevoternorm":"15.45257","votespereligible":".5897653","totalmoneyspent":"664957.8","nocontributions":"1491"},"7":{"totalmoneyspentnorm":"6.900746","moneypereligiblevoter":".9314712","district":"7","nocontributionsnorm":"4.738604","votesperregisterednorm":"63.39667","votespereligiblenorm":"36.36048","votesperregistered":".6460946","moneypereligiblevoternorm":"4.534338","votespereligible":".4823901","totalmoneyspent":"266774.3","nocontributions":"272"},"8":{"totalmoneyspentnorm":"28.27489","moneypereligiblevoter":"2.453609","district":"8","nocontributionsnorm":"12.61911","votesperregisterednorm":"82.95155","votespereligiblenorm":"54.85402","votesperregistered":".6976267","moneypereligiblevoternorm":"18.59339","votespereligible":".5503144","totalmoneyspent":"760790.4","nocontributions":"578"},"9":{"totalmoneyspentnorm":"27.07014","moneypereligiblevoter":"2.726823","district":"9","nocontributionsnorm":"19.00592","votesperregisterednorm":"71.89938","votespereligiblenorm":"53.14058","votesperregistered":".6685014","moneypereligiblevoternorm":"21.1169","votespereligible":".5440212","totalmoneyspent":"732945.4","nocontributions":"826"},"10":{"totalmoneyspentnorm":"42.16194","moneypereligiblevoter":"3.52275","district":"10","nocontributionsnorm":"23.9248","votesperregisterednorm":"85.79909","votespereligiblenorm":"72.0588","votesperregistered":".7051307","moneypereligiblevoternorm":"28.46839","votespereligible":".6135054","totalmoneyspent":"1081759","nocontributions":"1017"},"11":{"totalmoneyspentnorm":"19.46901","moneypereligiblevoter":"1.954928","district":"11","nocontributionsnorm":"14.19006","votesperregisterednorm":"79.41016","votespereligiblenorm":"54.32211","votesperregistered":".6882942","moneypereligiblevoternorm":"13.98738","votespereligible":".5483608","totalmoneyspent":"557262","nocontributions":"639"},"12":{"totalmoneyspentnorm":"16.41729","moneypereligiblevoter":"1.723841","district":"12","nocontributionsnorm":"11.25418","votesperregisterednorm":"75.621","votespereligiblenorm":"48.06177","votesperregistered":".6783088","moneypereligiblevoternorm":"11.85297","votespereligible":".5253674","totalmoneyspent":"486728.2","nocontributions":"525"},"13":{"totalmoneyspentnorm":"11.6468","moneypereligiblevoter":"1.529677","district":"13","nocontributionsnorm":"10.68761","votesperregisterednorm":"58.86876","votespereligiblenorm":"38.18582","votesperregistered":".6341624","moneypereligiblevoternorm":"10.0596","votespereligible":".4890943","totalmoneyspent":"376468.8","nocontributions":"503"},"14":{"totalmoneyspentnorm":"12.77707","moneypereligiblevoter":"1.340376","district":"14","nocontributionsnorm":"7.622972","votesperregisterednorm":"30.07976","votespereligiblenorm":"28.15171","votesperregistered":".5582961","moneypereligiblevoternorm":"8.311136","votespereligible":".4522403","totalmoneyspent":"402592.5","nocontributions":"384"},"15":{"totalmoneyspentnorm":"26.71057","moneypereligiblevoter":"2.330382","district":"15","nocontributionsnorm":"14.39609","votesperregisterednorm":"78.56012","votespereligiblenorm":"71.46856","votesperregistered":".6860542","moneypereligiblevoternorm":"17.45522","votespereligible":".6113375","totalmoneyspent":"724634.6","nocontributions":"647"},"16":{"totalmoneyspentnorm":"13.02677","moneypereligiblevoter":"1.374546","district":"16","nocontributionsnorm":"5.588462","votesperregisterednorm":"100","votespereligiblenorm":"100","votesperregistered":".7425537","moneypereligiblevoternorm":"8.626746","votespereligible":".7161298","totalmoneyspent":"408363.8","nocontributions":"305"},"17":{"totalmoneyspentnorm":"3.389412","moneypereligiblevoter":".5641802","district":"17","nocontributionsnorm":"11.33144","votesperregisterednorm":"63.31126","votespereligiblenorm":"59.65078","votesperregistered":".6458696","moneypereligiblevoternorm":"1.141897","votespereligible":".5679323","totalmoneyspent":"185617.5","nocontributions":"528"},"18":{"totalmoneyspentnorm":"35.86565","moneypereligiblevoter":"3.322441","district":"18","nocontributionsnorm":"50.73397","votesperregisterednorm":"54.58508","votespereligiblenorm":"50.22915","votesperregistered":".6228738","moneypereligiblevoternorm":"26.61826","votespereligible":".5333279","totalmoneyspent":"936234.1","nocontributions":"2058"},"19":{"totalmoneyspentnorm":"44.29269","moneypereligiblevoter":"3.353933","district":"19","nocontributionsnorm":"21.32372","votesperregisterednorm":"47.96135","votespereligiblenorm":"33.44369","votesperregistered":".6054186","moneypereligiblevoternorm":"26.90913","votespereligible":".4716771","totalmoneyspent":"1131007","nocontributions":"916"},"20":{"totalmoneyspentnorm":"29.59693","moneypereligiblevoter":"2.964256","district":"20","nocontributionsnorm":"25.1352","votesperregisterednorm":"50.66113","votespereligiblenorm":"40.80577","votesperregistered":".6125332","moneypereligiblevoternorm":"23.30992","votespereligible":".498717","totalmoneyspent":"791346.6","nocontributions":"1064"},"21":{"totalmoneyspentnorm":"23.15648","moneypereligiblevoter":"2.713973","district":"21","nocontributionsnorm":"12.9539","votesperregisterednorm":"43.83598","votespereligiblenorm":"30.24758","votesperregistered":".5945472","moneypereligiblevoternorm":"20.99821","votespereligible":".4599382","totalmoneyspent":"642489.6","nocontributions":"591"},"22":{"totalmoneyspentnorm":"7.154834","moneypereligiblevoter":".9414476","district":"22","nocontributionsnorm":"6.155035","votesperregisterednorm":"92.46365","votespereligiblenorm":"71.61636","votesperregistered":".7226935","moneypereligiblevoternorm":"4.626483","votespereligible":".6118804","totalmoneyspent":"272647","nocontributions":"327"},"23":{"totalmoneyspentnorm":"13.45397","moneypereligiblevoter":"1.409878","district":"23","nocontributionsnorm":"13.41746","votesperregisterednorm":"51.47273","votespereligiblenorm":"45.69823","votesperregistered":".614672","moneypereligiblevoternorm":"8.953088","votespereligible":".5166864","totalmoneyspent":"418237.5","nocontributions":"609"},"24":{"totalmoneyspentnorm":"16.60315","moneypereligiblevoter":"1.867828","district":"24","nocontributionsnorm":"11.53747","votesperregisterednorm":"97.00726","votespereligiblenorm":"78.8308","votesperregistered":".7346671","moneypereligiblevoternorm":"13.18289","votespereligible":".638378","totalmoneyspent":"491024","nocontributions":"536"},"25":{"totalmoneyspentnorm":"15.67719","moneypereligiblevoter":"1.831665","district":"25","nocontributionsnorm":"10.89364","votesperregisterednorm":"72.79993","votespereligiblenorm":"45.88115","votesperregistered":".6708746","moneypereligiblevoternorm":"12.84887","votespereligible":".5173582","totalmoneyspent":"469622.4","nocontributions":"511"},"26":{"totalmoneyspentnorm":"36.50013","moneypereligiblevoter":"3.944427","district":"26","nocontributionsnorm":"14.03554","votesperregisterednorm":"74.03554","votespereligiblenorm":"27.49285","votesperregistered":".6741307","moneypereligiblevoternorm":"32.36316","votespereligible":".4498204","totalmoneyspent":"950898.9","nocontributions":"633"},"27":{"totalmoneyspentnorm":"11.8748","moneypereligiblevoter":"1.588671","district":"27","nocontributionsnorm":"5.949008","votesperregisterednorm":"67.912","votespereligiblenorm":"39.0396","votesperregistered":".6579937","moneypereligiblevoternorm":"10.60449","votespereligible":".4922301","totalmoneyspent":"381738.5","nocontributions":"319"},"28":{"totalmoneyspentnorm":"17.82459","moneypereligiblevoter":"1.770219","district":"28","nocontributionsnorm":"12.74788","votesperregisterednorm":"86.13097","votespereligiblenorm":"66.80676","votesperregistered":".7060053","moneypereligiblevoternorm":"12.28134","votespereligible":".5942153","totalmoneyspent":"519254.9","nocontributions":"583"},"29":{"totalmoneyspentnorm":"2.602483","moneypereligiblevoter":".5208876","district":"29","nocontributionsnorm":"5.02189","votesperregisterednorm":"92.50517","votespereligiblenorm":"74.18434","votesperregistered":".7228029","moneypereligiblevoternorm":".7420297","votespereligible":".6213122","totalmoneyspent":"167429.4","nocontributions":"283"},"30":{"totalmoneyspentnorm":"6.740235","moneypereligiblevoter":"1.195753","district":"30","nocontributionsnorm":"4.687098","votesperregisterednorm":"82.55074","votespereligiblenorm":"54.85944","votesperregistered":".6965705","moneypereligiblevoternorm":"6.975345","votespereligible":".5503343","totalmoneyspent":"263064.4","nocontributions":"270"},"31":{"totalmoneyspentnorm":"28.92692","moneypereligiblevoter":"3.662537","district":"31","nocontributionsnorm":"12.74788","votesperregisterednorm":"19.03287","votespereligiblenorm":"16.72155","votesperregistered":".5291847","moneypereligiblevoternorm":"29.75951","votespereligible":".4102588","totalmoneyspent":"775860.8","nocontributions":"583"},"32":{"totalmoneyspentnorm":"21.61703","moneypereligiblevoter":"2.890909","district":"32","nocontributionsnorm":"10.24981","votesperregisterednorm":"31.13954","votespereligiblenorm":"0","votesperregistered":".5610889","moneypereligiblevoternorm":"22.63246","votespereligible":".3488427","totalmoneyspent":"606908.8","nocontributions":"486"},"33":{"totalmoneyspentnorm":"15.85001","moneypereligiblevoter":"1.782658","district":"33","nocontributionsnorm":"10.22405","votesperregisterednorm":"60.89044","votespereligiblenorm":"33.17297","votesperregistered":".6394901","moneypereligiblevoternorm":"12.39623","votespereligible":".4706828","totalmoneyspent":"473616.7","nocontributions":"485"},"34":{"totalmoneyspentnorm":"11.09131","moneypereligiblevoter":"1.311664","district":"34","nocontributionsnorm":"3.888746","votesperregisterednorm":"78.41537","votespereligiblenorm":"55.91021","votesperregistered":".6856727","moneypereligiblevoternorm":"8.045946","votespereligible":".5541937","totalmoneyspent":"363630","nocontributions":"239"},"35":{"totalmoneyspentnorm":"9.700483","moneypereligiblevoter":"1.122301","district":"35","nocontributionsnorm":"6.695854","votesperregisterednorm":"97.45423","votespereligiblenorm":"61.04911","votesperregistered":".735845","moneypereligiblevoternorm":"6.296917","votespereligible":".5730682","totalmoneyspent":"331484","nocontributions":"348"},"36":{"totalmoneyspentnorm":"6.860922","moneypereligiblevoter":"1.072558","district":"36","nocontributionsnorm":"3.476693","votesperregisterednorm":"59.31712","votespereligiblenorm":"49.86617","votesperregistered":".635344","moneypereligiblevoternorm":"5.837468","votespereligible":".5319947","totalmoneyspent":"265853.8","nocontributions":"223"},"37":{"totalmoneyspentnorm":"14.24034","moneypereligiblevoter":"1.42117","district":"37","nocontributionsnorm":"10.12104","votesperregisterednorm":"94.53835","votespereligiblenorm":"74.52343","votesperregistered":".7281609","moneypereligiblevoternorm":"9.057381","votespereligible":".6225576","totalmoneyspent":"436412.8","nocontributions":"481"},"38":{"totalmoneyspentnorm":"18.26993","moneypereligiblevoter":"1.785779","district":"38","nocontributionsnorm":"13.85527","votesperregisterednorm":"74.43174","votespereligiblenorm":"66.55589","votesperregistered":".6751748","moneypereligiblevoternorm":"12.42506","votespereligible":".5932939","totalmoneyspent":"529547.9","nocontributions":"626"},"39":{"totalmoneyspentnorm":"42.42812","moneypereligiblevoter":"4.786803","district":"39","nocontributionsnorm":"24.25959","votesperregisterednorm":"30.7373","votespereligiblenorm":"33.48746","votesperregistered":".5600289","moneypereligiblevoternorm":"40.14367","votespereligible":".4718378","totalmoneyspent":"1087911","nocontributions":"1030"},"40":{"totalmoneyspentnorm":"13.86719","moneypereligiblevoter":"1.541535","district":"40","nocontributionsnorm":"11.3572","votesperregisterednorm":"51.15918","votespereligiblenorm":"32.12099","votesperregistered":".6138457","moneypereligiblevoternorm":"10.16912","votespereligible":".466819","totalmoneyspent":"427788.3","nocontributions":"529"},"41":{"totalmoneyspentnorm":"58.92004","moneypereligiblevoter":"4.526796","district":"41","nocontributionsnorm":"32.21736","votesperregisterednorm":"77.85656","votespereligiblenorm":"64.51114","votesperregistered":".6842001","moneypereligiblevoternorm":"37.74214","votespereligible":".5857838","totalmoneyspent":"1469086","nocontributions":"1339"},"42":{"totalmoneyspentnorm":"16.74702","moneypereligiblevoter":"1.566434","district":"42","nocontributionsnorm":"6.489828","votesperregisterednorm":"79.34147","votespereligiblenorm":"34.07771","votesperregistered":".6881132","moneypereligiblevoternorm":"10.3991","votespereligible":".4740058","totalmoneyspent":"494349.2","nocontributions":"340"},"43":{"totalmoneyspentnorm":"33.74802","moneypereligiblevoter":"3.003567","district":"43","nocontributionsnorm":"21.47824","votesperregisterednorm":"57.22227","votespereligiblenorm":"51.49414","votesperregistered":".6298235","moneypereligiblevoternorm":"23.67302","votespereligible":".5379741","totalmoneyspent":"887289.9","nocontributions":"922"},"44":{"totalmoneyspentnorm":"8.493597","moneypereligiblevoter":"1.160546","district":"44","nocontributionsnorm":"6.103528","votesperregisterednorm":"87.45062","votespereligiblenorm":"74.60764","votesperregistered":".7094829","moneypereligiblevoternorm":"6.650161","votespereligible":".6228669","totalmoneyspent":"303589.5","nocontributions":"325"},"45":{"totalmoneyspentnorm":"17.0544","moneypereligiblevoter":"1.786898","district":"45","nocontributionsnorm":"9.065156","votesperregisterednorm":"57.33312","votespereligiblenorm":"58.71966","votesperregistered":".6301156","moneypereligiblevoternorm":"12.43539","votespereligible":".5645124","totalmoneyspent":"501453.6","nocontributions":"440"},"46":{"totalmoneyspentnorm":"49.00382","moneypereligiblevoter":"5.005507","district":"46","nocontributionsnorm":"44.47592","votesperregisterednorm":"51.63416","votespereligiblenorm":"48.78868","votesperregistered":".6150974","moneypereligiblevoternorm":"42.1637","votespereligible":".5280373","totalmoneyspent":"1239894","nocontributions":"1815"},"47":{"totalmoneyspentnorm":"12.0687","moneypereligiblevoter":"1.770962","district":"47","nocontributionsnorm":"10.84213","votesperregisterednorm":"29.95378","votespereligiblenorm":"24.75865","votesperregistered":".5579641","moneypereligiblevoternorm":"12.2882","votespereligible":".4397781","totalmoneyspent":"386220.3","nocontributions":"509"},"48":{"totalmoneyspentnorm":"17.81255","moneypereligiblevoter":"2.033735","district":"48","nocontributionsnorm":"7.725985","votesperregisterednorm":"43.12364","votespereligiblenorm":"38.99665","votesperregistered":".59267","moneypereligiblevoternorm":"14.71527","votespereligible":".4920724","totalmoneyspent":"518976.5","nocontributions":"388"},"49":{"totalmoneyspentnorm":"39.95673","moneypereligiblevoter":"3.744081","district":"49","nocontributionsnorm":"26.73191","votesperregisterednorm":"31.74073","votespereligiblenorm":"18.6943","votesperregistered":".5626732","moneypereligiblevoternorm":"30.51269","votespereligible":".4175045","totalmoneyspent":"1030791","nocontributions":"1126"},"50":{"totalmoneyspentnorm":"100","moneypereligiblevoter":"6.945369","district":"50","nocontributionsnorm":"100","votesperregisterednorm":"44.19389","votespereligiblenorm":"49.81191","votesperregistered":".5954904","moneypereligiblevoternorm":"60.08102","votespereligible":".5317954","totalmoneyspent":"2418558","nocontributions":"3971"},"51":{"totalmoneyspentnorm":"38.29944","moneypereligiblevoter":"4.333848","district":"51","nocontributionsnorm":"50.83698","votesperregisterednorm":"26.83591","votespereligiblenorm":"30.9377","votesperregistered":".5497477","moneypereligiblevoternorm":"35.96001","votespereligible":".4624729","totalmoneyspent":"992485.9","nocontributions":"2062"},"52":{"totalmoneyspentnorm":"12.64157","moneypereligiblevoter":"1.614668","district":"52","nocontributionsnorm":"6.567087","votesperregisterednorm":"40.27674","votespereligiblenorm":"15.99081","votesperregistered":".5851677","moneypereligiblevoternorm":"10.84461","votespereligible":".4075749","totalmoneyspent":"399460.7","nocontributions":"343"},"53":{"totalmoneyspentnorm":"75.35683","moneypereligiblevoter":"11.2673","district":"53","nocontributionsnorm":"20.60263","votesperregisterednorm":"15.20467","votespereligiblenorm":"28.55066","votesperregistered":".5190964","moneypereligiblevoternorm":"100","votespereligible":".4537056","totalmoneyspent":"1848986","nocontributions":"888"},"54":{"totalmoneyspentnorm":"8.970024","moneypereligiblevoter":"1.067458","district":"54","nocontributionsnorm":"6.258048","votesperregisterednorm":"56.81872","votespereligiblenorm":"64.11926","votesperregistered":".62876","moneypereligiblevoternorm":"5.79036","votespereligible":".5843444","totalmoneyspent":"314601.1","nocontributions":"331"},"55":{"totalmoneyspentnorm":"15.0054","moneypereligiblevoter":"1.580425","district":"55","nocontributionsnorm":"8.524337","votesperregisterednorm":"57.52382","votespereligiblenorm":"59.46206","votesperregistered":".6306182","moneypereligiblevoternorm":"10.52832","votespereligible":".5672392","totalmoneyspent":"454095.5","nocontributions":"419"},"56":{"totalmoneyspentnorm":"15.58161","moneypereligiblevoter":"2.057241","district":"56","nocontributionsnorm":"6.618594","votesperregisterednorm":"60.05554","votespereligiblenorm":"25.32387","votesperregistered":".6372899","moneypereligiblevoternorm":"14.93238","votespereligible":".441854","totalmoneyspent":"467413.3","nocontributions":"345"},"57":{"totalmoneyspentnorm":"21.92945","moneypereligiblevoter":"2.285593","district":"57","nocontributionsnorm":"7.391192","votesperregisterednorm":"44.35228","votespereligiblenorm":"43.31135","votesperregistered":".5959078","moneypereligiblevoternorm":"17.04152","votespereligible":".5079197","totalmoneyspent":"614129.6","nocontributions":"375"},"58":{"totalmoneyspentnorm":"40.90834","moneypereligiblevoter":"4.221626","district":"58","nocontributionsnorm":"14.65362","votesperregisterednorm":"38.42729","votespereligiblenorm":"43.34464","votesperregistered":".580294","moneypereligiblevoternorm":"34.92347","votespereligible":".508042","totalmoneyspent":"1052785","nocontributions":"657"},"59":{"totalmoneyspentnorm":"9.355019","moneypereligiblevoter":"1.919331","district":"59","nocontributionsnorm":"6.155035","votesperregisterednorm":"2.913424","votespereligiblenorm":"30.1609","votesperregistered":".4867059","moneypereligiblevoternorm":"13.65859","votespereligible":".4596198","totalmoneyspent":"323499.4","nocontributions":"327"},"60":{"totalmoneyspentnorm":"0","moneypereligiblevoter":".4405499","district":"60","nocontributionsnorm":"2.266289","votesperregisterednorm":"56.83014","votespereligiblenorm":"35.88609","votesperregistered":".6287901","moneypereligiblevoternorm":"0","votespereligible":".4806477","totalmoneyspent":"107278.8","nocontributions":"176"},"61":{"totalmoneyspentnorm":"17.28694","moneypereligiblevoter":"2.177069","district":"61","nocontributionsnorm":"8.035025","votesperregisterednorm":"44.5323","votespereligiblenorm":"52.11986","votesperregistered":".5963822","moneypereligiblevoternorm":"16.03916","votespereligible":".5402722","totalmoneyspent":"506828.3","nocontributions":"400"},"62":{"totalmoneyspentnorm":"15.78946","moneypereligiblevoter":"1.745275","district":"62","nocontributionsnorm":"7.082153","votesperregisterednorm":"33.46066","votespereligiblenorm":"41.87909","votesperregistered":".5672056","moneypereligiblevoternorm":"12.05095","votespereligible":".5026592","totalmoneyspent":"472217.4","nocontributions":"363"},"63":{"totalmoneyspentnorm":"16.30568","moneypereligiblevoter":"2.339311","district":"63","nocontributionsnorm":"10.99665","votesperregisterednorm":"29.39378","votespereligiblenorm":"39.66852","votesperregistered":".5564883","moneypereligiblevoternorm":"17.53769","votespereligible":".4945401","totalmoneyspent":"484148.5","nocontributions":"515"},"64":{"totalmoneyspentnorm":"26.09498","moneypereligiblevoter":"3.335509","district":"64","nocontributionsnorm":"8.575844","votesperregisterednorm":"0","votespereligiblenorm":"33.42682","votesperregistered":".4790283","moneypereligiblevoternorm":"26.73896","votespereligible":".4716151","totalmoneyspent":"710406.7","nocontributions":"421"},"65":{"totalmoneyspentnorm":"14.53782","moneypereligiblevoter":"1.742705","district":"65","nocontributionsnorm":"13.77801","votesperregisterednorm":"33.76517","votespereligiblenorm":"46.91364","votesperregistered":".5680081","moneypereligiblevoternorm":"12.02721","votespereligible":".5211505","totalmoneyspent":"443288.4","nocontributions":"623"},"66":{"totalmoneyspentnorm":"44.89483","moneypereligiblevoter":"3.776869","district":"66","nocontributionsnorm":"31.67654","votesperregisterednorm":"74.9183","votespereligiblenorm":"72.53426","votesperregistered":".676457","moneypereligiblevoternorm":"30.81553","votespereligible":".6152517","totalmoneyspent":"1144924","nocontributions":"1318"},"67":{"totalmoneyspentnorm":"21.27171","moneypereligiblevoter":"2.369091","district":"67","nocontributionsnorm":"16.63662","votesperregisterednorm":"48.27258","votespereligiblenorm":"43.37093","votesperregistered":".6062388","moneypereligiblevoternorm":"17.81275","votespereligible":".5081385","totalmoneyspent":"598927.5","nocontributions":"734"},"68":{"totalmoneyspentnorm":"4.137113","moneypereligiblevoter":".7162641","district":"68","nocontributionsnorm":"3.244914","votesperregisterednorm":"61.88164","votespereligiblenorm":"70.48625","votesperregistered":".6421021","moneypereligiblevoternorm":"2.546602","votespereligible":".6077296","totalmoneyspent":"202899","nocontributions":"214"},"69":{"totalmoneyspentnorm":"26.86956","moneypereligiblevoter":"4.211634","district":"69","nocontributionsnorm":"21.37523","votesperregisterednorm":"12.04589","votespereligiblenorm":"37.75584","votesperregistered":".5107722","moneypereligiblevoternorm":"34.83119","votespereligible":".487515","totalmoneyspent":"728309.5","nocontributions":"918"},"70":{"totalmoneyspentnorm":"11.27337","moneypereligiblevoter":"1.303945","district":"70","nocontributionsnorm":"0","votesperregisterednorm":"46.26643","votespereligiblenorm":"52.68773","votesperregistered":".6009521","moneypereligiblevoternorm":"7.974652","votespereligible":".5423579","totalmoneyspent":"367837.8","nocontributions":"88"},"71":{"totalmoneyspentnorm":"4.203743","moneypereligiblevoter":".6826671","district":"71","nocontributionsnorm":"2.601082","votesperregisterednorm":"85.6908","votespereligiblenorm":"58.6632","votesperregistered":".7048453","moneypereligiblevoternorm":"2.236287","votespereligible":".5643051","totalmoneyspent":"204439","nocontributions":"189"},"72":{"totalmoneyspentnorm":"24.3407","moneypereligiblevoter":"2.257345","district":"72","nocontributionsnorm":"8.009272","votesperregisterednorm":"17.11005","votespereligiblenorm":"35.39269","votesperregistered":".5241176","moneypereligiblevoternorm":"16.78062","votespereligible":".4788355","totalmoneyspent":"669860.3","nocontributions":"399"},"73":{"totalmoneyspentnorm":"10.95379","moneypereligiblevoter":"1.185528","district":"73","nocontributionsnorm":"8.138038","votesperregisterednorm":"71.88299","votespereligiblenorm":"86.11257","votesperregistered":".6684582","moneypereligiblevoternorm":"6.880903","votespereligible":".665123","totalmoneyspent":"360451.4","nocontributions":"404"},"74":{"totalmoneyspentnorm":"22.46913","moneypereligiblevoter":"1.92186","district":"74","nocontributionsnorm":"12.49034","votesperregisterednorm":"56.13726","votespereligiblenorm":"67.61848","votesperregistered":".6269642","moneypereligiblevoternorm":"13.68195","votespereligible":".5971966","totalmoneyspent":"626603.3","nocontributions":"573"},"75":{"totalmoneyspentnorm":"5.301457","moneypereligiblevoter":".8927131","district":"75","nocontributionsnorm":"3.811486","votesperregisterednorm":"86.31517","votespereligiblenorm":"71.56692","votesperregistered":".7064907","moneypereligiblevoternorm":"4.176353","votespereligible":".6116987","totalmoneyspent":"229810.3","nocontributions":"236"},"76":{"totalmoneyspentnorm":"25.16611","moneypereligiblevoter":"2.342267","district":"76","nocontributionsnorm":"27.8393","votesperregisterednorm":"67.10542","votespereligiblenorm":"45.55613","votesperregistered":".6558681","moneypereligiblevoternorm":"17.56499","votespereligible":".5161645","totalmoneyspent":"688938","nocontributions":"1169"},"77":{"totalmoneyspentnorm":"8.939292","moneypereligiblevoter":"1.011862","district":"77","nocontributionsnorm":"5.588462","votesperregisterednorm":"93.12328","votespereligiblenorm":"71.90247","votesperregistered":".7244318","moneypereligiblevoternorm":"5.27686","votespereligible":".6129312","totalmoneyspent":"313890.8","nocontributions":"305"},"78":{"totalmoneyspentnorm":"18.5926","moneypereligiblevoter":"1.524723","district":"78","nocontributionsnorm":"9.219675","votesperregisterednorm":"77.10713","votespereligiblenorm":"49.97825","votesperregistered":".6822252","moneypereligiblevoternorm":"10.01384","votespereligible":".5324064","totalmoneyspent":"537005.8","nocontributions":"446"},"79":{"totalmoneyspentnorm":"27.47643","moneypereligiblevoter":"2.621011","district":"79","nocontributionsnorm":"32.50064","votesperregisterednorm":"68.66037","votespereligiblenorm":"51.71169","votesperregistered":".6599658","moneypereligiblevoternorm":"20.13958","votespereligible":".5387731","totalmoneyspent":"742335.9","nocontributions":"1350"},"80":{"totalmoneyspentnorm":"10.15001","moneypereligiblevoter":"1.503211","district":"80","nocontributionsnorm":"4.403811","votesperregisterednorm":"52.66175","votespereligiblenorm":"36.09173","votesperregistered":".6178054","moneypereligiblevoternorm":"9.815147","votespereligible":".481403","totalmoneyspent":"341873.8","nocontributions":"259"}} \ No newline at end of file diff --git a/public/data/ca/data-u.json b/public/data/ca/data-u.json index 4f14551..b457a25 100644 --- a/public/data/ca/data-u.json +++ b/public/data/ca/data-u.json @@ -1 +1 @@ -[{"totalmoneyspentnorm": "82.35812", "moneypereligiblevoter": "2.468711", "district": "1", "nocontributionsnorm": "96.49426", "votesperregisterednorm": "100", "votespereligiblenorm": "77.19106", "votesperregistered": ".74878", "moneypereligiblevoternorm": "64.65088", "votespereligible": ".6143688", "totalmoneyspent": "1661028", "nocontributions": "1800"}, {"totalmoneyspentnorm": "6.16484", "moneypereligiblevoter": ".4093141", "district": "3", "nocontributionsnorm": "11.14943", "votesperregisterednorm": "87.63936", "votespereligiblenorm": "55.56696", "votesperregistered": ".7213966", "moneypereligiblevoternorm": "4.121686", "votespereligible": ".5756653", "totalmoneyspent": "250594", "nocontributions": "315"}, {"totalmoneyspentnorm": "100", "moneypereligiblevoter": "3.671401", "district": "5", "nocontributionsnorm": "100", "votesperregisterednorm": "66.71287", "votespereligiblenorm": "24.89182", "votesperregistered": ".6750365", "moneypereligiblevoternorm": "100", "votespereligible": ".520762", "totalmoneyspent": "1987601", "nocontributions": "1861"}, {"totalmoneyspentnorm": "16.90817", "moneypereligiblevoter": ".7899084", "district": "7", "nocontributionsnorm": "22.18391", "votesperregisterednorm": "91.67287", "votespereligiblenorm": "100", "votesperregistered": ".7303323", "moneypereligiblevoternorm": "15.30801", "votespereligible": ".655193", "totalmoneyspent": "449466.6", "nocontributions": "507"}, {"totalmoneyspentnorm": "19.03839", "moneypereligiblevoter": ".8215308", "district": "9", "nocontributionsnorm": "38.21839", "votesperregisterednorm": "66.79771", "votespereligiblenorm": "63.45133", "votesperregistered": ".6752245", "moneypereligiblevoternorm": "16.23744", "votespereligible": ".589777", "totalmoneyspent": "488899.5", "nocontributions": "786"}, {"totalmoneyspentnorm": "24.0489", "moneypereligiblevoter": ".8763332", "district": "11", "nocontributionsnorm": "35.45977", "votesperregisterednorm": "55.68352", "votespereligiblenorm": "35.39851", "votesperregistered": ".6506024", "moneypereligiblevoternorm": "17.84818", "votespereligible": ".5395672", "totalmoneyspent": "581650.4", "nocontributions": "738"}, {"totalmoneyspentnorm": "45.43339", "moneypereligiblevoter": "1.767386", "district": "13", "nocontributionsnorm": "69.54023", "votesperregisterednorm": "78.13975", "votespereligiblenorm": "68.40397", "votesperregistered": ".7003514", "moneypereligiblevoternorm": "44.03775", "votespereligible": ".5986414", "totalmoneyspent": "977504.2", "nocontributions": "1331"}, {"totalmoneyspentnorm": "19.27474", "moneypereligiblevoter": ".9147846", "district": "15", "nocontributionsnorm": "28.50575", "votesperregisterednorm": "56.48561", "votespereligiblenorm": "26.95181", "votesperregistered": ".6523793", "moneypereligiblevoternorm": "18.97833", "votespereligible": ".524449", "totalmoneyspent": "493274.8", "nocontributions": "617"}, {"totalmoneyspentnorm": "36.02762", "moneypereligiblevoter": "1.30619", "district": "17", "nocontributionsnorm": "56.55172", "votesperregisterednorm": "92.94174", "votespereligiblenorm": "72.80564", "votesperregistered": ".7331433", "moneypereligiblevoternorm": "30.4824", "votespereligible": ".6065196", "totalmoneyspent": "803391.6", "nocontributions": "1105"}, {"totalmoneyspentnorm": "80.7351", "moneypereligiblevoter": "3.041245", "district": "19", "nocontributionsnorm": "99.02299", "votesperregisterednorm": "93.98001", "votespereligiblenorm": "72.1074", "votesperregistered": ".7354435", "moneypereligiblevoternorm": "81.47865", "votespereligible": ".6052699", "totalmoneyspent": "1630983", "nocontributions": "1844"}, {"totalmoneyspentnorm": "0", "moneypereligiblevoter": ".2690811", "district": "21", "nocontributionsnorm": "0", "votesperregisterednorm": "49.11674", "votespereligiblenorm": "27.16907", "votesperregistered": ".6360545", "moneypereligiblevoternorm": "0", "votespereligible": ".5248379", "totalmoneyspent": "136475", "nocontributions": "121"}, {"totalmoneyspentnorm": "18.5258", "moneypereligiblevoter": ".8506544", "district": "23", "nocontributionsnorm": "18.10345", "votesperregisterednorm": "52.44405", "votespereligiblenorm": "14.05868", "votesperregistered": ".6434258", "moneypereligiblevoternorm": "17.09343", "votespereligible": ".5013725", "totalmoneyspent": "479410.9", "nocontributions": "436"}, {"totalmoneyspentnorm": "16.23976", "moneypereligiblevoter": ".6988137", "district": "25", "nocontributionsnorm": "12.58621", "votesperregisterednorm": "57.72372", "votespereligiblenorm": "47.26991", "votesperregistered": ".6551222", "moneypereligiblevoternorm": "12.63058", "votespereligible": ".560815", "totalmoneyspent": "437093.3", "nocontributions": "340"}, {"totalmoneyspentnorm": "48.07119", "moneypereligiblevoter": "1.745744", "district": "27", "nocontributionsnorm": "56.14943", "votesperregisterednorm": "72.13197", "votespereligiblenorm": "84.79749", "votesperregistered": ".6870419", "moneypereligiblevoternorm": "43.40165", "votespereligible": ".627983", "totalmoneyspent": "1026333", "nocontributions": "1098"}, {"totalmoneyspentnorm": "33.98375", "moneypereligiblevoter": "1.437288", "district": "29", "nocontributionsnorm": "37.41379", "votesperregisterednorm": "33.82348", "votespereligiblenorm": "40.3757", "votesperregistered": ".6021742", "moneypereligiblevoternorm": "34.33559", "votespereligible": ".5484755", "totalmoneyspent": "765556.9", "nocontributions": "772"}, {"totalmoneyspentnorm": "22.54585", "moneypereligiblevoter": "1.162735", "district": "31", "nocontributionsnorm": "15.86207", "votesperregisterednorm": "37.36461", "votespereligiblenorm": "18.03661", "votesperregistered": ".6100191", "moneypereligiblevoternorm": "26.26603", "votespereligible": ".5084923", "totalmoneyspent": "553827.1", "nocontributions": "397"}, {"totalmoneyspentnorm": "18.20961", "moneypereligiblevoter": "1.142543", "district": "33", "nocontributionsnorm": "10.57471", "votesperregisterednorm": "0", "votespereligiblenorm": "0", "votesperregistered": ".5272425", "moneypereligiblevoternorm": "25.67254", "votespereligible": ".4762098", "totalmoneyspent": "473557.9", "nocontributions": "305"}, {"totalmoneyspentnorm": "16.70843", "moneypereligiblevoter": ".9259291", "district": "35", "nocontributionsnorm": "12.87356", "votesperregisterednorm": "22.84129", "votespereligiblenorm": "25.87839", "votesperregistered": ".5778446", "moneypereligiblevoternorm": "19.30589", "votespereligible": ".5225278", "totalmoneyspent": "445769.1", "nocontributions": "345"}, {"totalmoneyspentnorm": "26.57476", "moneypereligiblevoter": "1.025094", "district": "37", "nocontributionsnorm": "28.90805", "votesperregisterednorm": "51.79779", "votespereligiblenorm": "74.50986", "votesperregistered": ".6419941", "moneypereligiblevoternorm": "22.22051", "votespereligible": ".6095699", "totalmoneyspent": "628407.2", "nocontributions": "624"}, {"totalmoneyspentnorm": "28.57493", "moneypereligiblevoter": ".9708326", "district": "39", "nocontributionsnorm": "19.08046", "votesperregisterednorm": "82.00311", "votespereligiblenorm": "42.31423", "votesperregistered": ".7089102", "moneypereligiblevoternorm": "20.62568", "votespereligible": ".5519451", "totalmoneyspent": "665432.9", "nocontributions": "453"}] \ No newline at end of file +{"1":{"totalmoneyspentnorm":"82.35812","moneypereligiblevoter":"2.468711","district":"1","nocontributionsnorm":"96.49426","votesperregisterednorm":"100","votespereligiblenorm":"77.19106","votesperregistered":".74878","moneypereligiblevoternorm":"64.65088","votespereligible":".6143688","totalmoneyspent":"1661028","nocontributions":"1800"},"3":{"totalmoneyspentnorm":"6.16484","moneypereligiblevoter":".4093141","district":"3","nocontributionsnorm":"11.14943","votesperregisterednorm":"87.63936","votespereligiblenorm":"55.56696","votesperregistered":".7213966","moneypereligiblevoternorm":"4.121686","votespereligible":".5756653","totalmoneyspent":"250594","nocontributions":"315"},"5":{"totalmoneyspentnorm":"100","moneypereligiblevoter":"3.671401","district":"5","nocontributionsnorm":"100","votesperregisterednorm":"66.71287","votespereligiblenorm":"24.89182","votesperregistered":".6750365","moneypereligiblevoternorm":"100","votespereligible":".520762","totalmoneyspent":"1987601","nocontributions":"1861"},"7":{"totalmoneyspentnorm":"16.90817","moneypereligiblevoter":".7899084","district":"7","nocontributionsnorm":"22.18391","votesperregisterednorm":"91.67287","votespereligiblenorm":"100","votesperregistered":".7303323","moneypereligiblevoternorm":"15.30801","votespereligible":".655193","totalmoneyspent":"449466.6","nocontributions":"507"},"9":{"totalmoneyspentnorm":"19.03839","moneypereligiblevoter":".8215308","district":"9","nocontributionsnorm":"38.21839","votesperregisterednorm":"66.79771","votespereligiblenorm":"63.45133","votesperregistered":".6752245","moneypereligiblevoternorm":"16.23744","votespereligible":".589777","totalmoneyspent":"488899.5","nocontributions":"786"},"11":{"totalmoneyspentnorm":"24.0489","moneypereligiblevoter":".8763332","district":"11","nocontributionsnorm":"35.45977","votesperregisterednorm":"55.68352","votespereligiblenorm":"35.39851","votesperregistered":".6506024","moneypereligiblevoternorm":"17.84818","votespereligible":".5395672","totalmoneyspent":"581650.4","nocontributions":"738"},"13":{"totalmoneyspentnorm":"45.43339","moneypereligiblevoter":"1.767386","district":"13","nocontributionsnorm":"69.54023","votesperregisterednorm":"78.13975","votespereligiblenorm":"68.40397","votesperregistered":".7003514","moneypereligiblevoternorm":"44.03775","votespereligible":".5986414","totalmoneyspent":"977504.2","nocontributions":"1331"},"15":{"totalmoneyspentnorm":"19.27474","moneypereligiblevoter":".9147846","district":"15","nocontributionsnorm":"28.50575","votesperregisterednorm":"56.48561","votespereligiblenorm":"26.95181","votesperregistered":".6523793","moneypereligiblevoternorm":"18.97833","votespereligible":".524449","totalmoneyspent":"493274.8","nocontributions":"617"},"17":{"totalmoneyspentnorm":"36.02762","moneypereligiblevoter":"1.30619","district":"17","nocontributionsnorm":"56.55172","votesperregisterednorm":"92.94174","votespereligiblenorm":"72.80564","votesperregistered":".7331433","moneypereligiblevoternorm":"30.4824","votespereligible":".6065196","totalmoneyspent":"803391.6","nocontributions":"1105"},"19":{"totalmoneyspentnorm":"80.7351","moneypereligiblevoter":"3.041245","district":"19","nocontributionsnorm":"99.02299","votesperregisterednorm":"93.98001","votespereligiblenorm":"72.1074","votesperregistered":".7354435","moneypereligiblevoternorm":"81.47865","votespereligible":".6052699","totalmoneyspent":"1630983","nocontributions":"1844"},"21":{"totalmoneyspentnorm":"0","moneypereligiblevoter":".2690811","district":"21","nocontributionsnorm":"0","votesperregisterednorm":"49.11674","votespereligiblenorm":"27.16907","votesperregistered":".6360545","moneypereligiblevoternorm":"0","votespereligible":".5248379","totalmoneyspent":"136475","nocontributions":"121"},"23":{"totalmoneyspentnorm":"18.5258","moneypereligiblevoter":".8506544","district":"23","nocontributionsnorm":"18.10345","votesperregisterednorm":"52.44405","votespereligiblenorm":"14.05868","votesperregistered":".6434258","moneypereligiblevoternorm":"17.09343","votespereligible":".5013725","totalmoneyspent":"479410.9","nocontributions":"436"},"25":{"totalmoneyspentnorm":"16.23976","moneypereligiblevoter":".6988137","district":"25","nocontributionsnorm":"12.58621","votesperregisterednorm":"57.72372","votespereligiblenorm":"47.26991","votesperregistered":".6551222","moneypereligiblevoternorm":"12.63058","votespereligible":".560815","totalmoneyspent":"437093.3","nocontributions":"340"},"27":{"totalmoneyspentnorm":"48.07119","moneypereligiblevoter":"1.745744","district":"27","nocontributionsnorm":"56.14943","votesperregisterednorm":"72.13197","votespereligiblenorm":"84.79749","votesperregistered":".6870419","moneypereligiblevoternorm":"43.40165","votespereligible":".627983","totalmoneyspent":"1026333","nocontributions":"1098"},"29":{"totalmoneyspentnorm":"33.98375","moneypereligiblevoter":"1.437288","district":"29","nocontributionsnorm":"37.41379","votesperregisterednorm":"33.82348","votespereligiblenorm":"40.3757","votesperregistered":".6021742","moneypereligiblevoternorm":"34.33559","votespereligible":".5484755","totalmoneyspent":"765556.9","nocontributions":"772"},"31":{"totalmoneyspentnorm":"22.54585","moneypereligiblevoter":"1.162735","district":"31","nocontributionsnorm":"15.86207","votesperregisterednorm":"37.36461","votespereligiblenorm":"18.03661","votesperregistered":".6100191","moneypereligiblevoternorm":"26.26603","votespereligible":".5084923","totalmoneyspent":"553827.1","nocontributions":"397"},"33":{"totalmoneyspentnorm":"18.20961","moneypereligiblevoter":"1.142543","district":"33","nocontributionsnorm":"10.57471","votesperregisterednorm":"0","votespereligiblenorm":"0","votesperregistered":".5272425","moneypereligiblevoternorm":"25.67254","votespereligible":".4762098","totalmoneyspent":"473557.9","nocontributions":"305"},"35":{"totalmoneyspentnorm":"16.70843","moneypereligiblevoter":".9259291","district":"35","nocontributionsnorm":"12.87356","votesperregisterednorm":"22.84129","votespereligiblenorm":"25.87839","votesperregistered":".5778446","moneypereligiblevoternorm":"19.30589","votespereligible":".5225278","totalmoneyspent":"445769.1","nocontributions":"345"},"37":{"totalmoneyspentnorm":"26.57476","moneypereligiblevoter":"1.025094","district":"37","nocontributionsnorm":"28.90805","votesperregisterednorm":"51.79779","votespereligiblenorm":"74.50986","votesperregistered":".6419941","moneypereligiblevoternorm":"22.22051","votespereligible":".6095699","totalmoneyspent":"628407.2","nocontributions":"624"},"39":{"totalmoneyspentnorm":"28.57493","moneypereligiblevoter":".9708326","district":"39","nocontributionsnorm":"19.08046","votesperregisterednorm":"82.00311","votespereligiblenorm":"42.31423","votesperregistered":".7089102","moneypereligiblevoternorm":"20.62568","votespereligible":".5519451","totalmoneyspent":"665432.9","nocontributions":"453"}} \ No newline at end of file diff --git a/public/js/counties-overlay.js b/public/js/counties-overlay.js index c7ef41f..2e10a8f 100644 --- a/public/js/counties-overlay.js +++ b/public/js/counties-overlay.js @@ -1,15 +1,14 @@ var layer; var data; +var layer_data; function addOverlay(house) { var svg = d3.select(map.getPanes().overlayPane).append("svg"), g = svg.append("g").attr("class", "leaflet-zoom-hide"); - var layer_data; $.getJSON(data_dir+"ca/data-"+house+".json", function(data) { layer_data = data; - console.log($.parseJSON(layer_data.responseText)); }); d3.json(data_dir+"/ca/bound-"+house+".json", function(collection) { @@ -21,7 +20,10 @@ function addOverlay(house) { .enter() .append("path") .attr('data-name', function(d){ return d.properties.name }) - .on('mouseover',function(d){ $("#mouseinfo").text(d.properties.name) }); + .on('mouseover',function(d){ + $("#mouseinfo").html(d.properties.name + "
" + + "# Contributions: " + layer_data[d.properties.district]["nocontributions"]); + }); map.on("viewreset", reset); reset(); From a4fc14e009f109bb3e27c81d6e44928b014ef440 Mon Sep 17 00:00:00 2001 From: Shawn Landden Date: Sun, 3 Feb 2013 11:54:06 -0800 Subject: [PATCH 3/9] fuck yeah --- public/css/style.less | 2 +- public/js/counties-overlay.js | 7 ++++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/public/css/style.less b/public/css/style.less index 51c67e4..0d515fc 100644 --- a/public/css/style.less +++ b/public/css/style.less @@ -43,7 +43,7 @@ header { top:81px; right:10px; width:200px; - height:125px; + height:325px; background:rgba(255,255,255,0.8); box-shadow:0 0 5px rgba(0,0,0,.5); border-radius:5px; diff --git a/public/js/counties-overlay.js b/public/js/counties-overlay.js index 2e10a8f..6321d6f 100644 --- a/public/js/counties-overlay.js +++ b/public/js/counties-overlay.js @@ -22,7 +22,12 @@ function addOverlay(house) { .attr('data-name', function(d){ return d.properties.name }) .on('mouseover',function(d){ $("#mouseinfo").html(d.properties.name + "
" + - "# Contributions: " + layer_data[d.properties.district]["nocontributions"]); + "$/eligible: " + layer_data[d.properties.district]["moneypereligiblevoter"] + "
" + + "# Contributions: " + layer_data[d.properties.district]["nocontributions"] + "
" + + "Total $ spent: " + layer_data[d.properties.district]["totalmoneyspent"] + "
" + + "Votes/eligible: " + layer_data[d.properties.district]["votespereligible"] + "
" + + "Votes/registered: " + layer_data[d.properties.district]["votesperregistered"] + ); }); map.on("viewreset", reset); From cd17b48cf0f094dec29cf558a840c1a24d0f93c4 Mon Sep 17 00:00:00 2001 From: Shawn Landden Date: Sun, 3 Feb 2013 11:57:55 -0800 Subject: [PATCH 4/9] percent --- public/js/counties-overlay.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/public/js/counties-overlay.js b/public/js/counties-overlay.js index 6321d6f..025789b 100644 --- a/public/js/counties-overlay.js +++ b/public/js/counties-overlay.js @@ -21,12 +21,14 @@ function addOverlay(house) { .append("path") .attr('data-name', function(d){ return d.properties.name }) .on('mouseover',function(d){ + vpe = (layer_data[d.properties.district]["votespereligible"] * 100).toFixed(0); + vpr = (layer_data[d.properties.district]["votesperregistered"] * 100).toFixed(0); $("#mouseinfo").html(d.properties.name + "
" + "$/eligible: " + layer_data[d.properties.district]["moneypereligiblevoter"] + "
" + "# Contributions: " + layer_data[d.properties.district]["nocontributions"] + "
" + "Total $ spent: " + layer_data[d.properties.district]["totalmoneyspent"] + "
" + - "Votes/eligible: " + layer_data[d.properties.district]["votespereligible"] + "
" + - "Votes/registered: " + layer_data[d.properties.district]["votesperregistered"] + "Votes/eligible: " + vpe + "%" + "
" + + "Votes/registered: " + vpr + "%" ); }); From 3ce83e9b2d13c1f7760ba24f693ad7c8df92c8ed Mon Sep 17 00:00:00 2001 From: Shawn Landden Date: Sun, 3 Feb 2013 12:02:14 -0800 Subject: [PATCH 5/9] zoom level --- public/js/main.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/js/main.js b/public/js/main.js index 3f44541..0826b29 100644 --- a/public/js/main.js +++ b/public/js/main.js @@ -3,7 +3,7 @@ var map, (function($){ map = L.map('map',{maxZoom: 19}); layer = new L.StamenTileLayer("toner-lite"); - map.addLayer(layer).locate({setView: true, maxZoom: 16}); + map.addLayer(layer).locate({setView: true, maxZoom: 10}); $('#splash button').click(function(e){ e.preventDefault(); $('#splash').hide(); @@ -16,4 +16,4 @@ var map, $('body').removeClass('footer-up') } ); -})($); \ No newline at end of file +})($); From 54c61c4be0ed8f67409e74450bb596aa5e67a7dd Mon Sep 17 00:00:00 2001 From: Shawn Landden Date: Sun, 3 Feb 2013 12:02:59 -0800 Subject: [PATCH 6/9] zoom level again --- public/js/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/js/main.js b/public/js/main.js index 0826b29..9930df4 100644 --- a/public/js/main.js +++ b/public/js/main.js @@ -3,7 +3,7 @@ var map, (function($){ map = L.map('map',{maxZoom: 19}); layer = new L.StamenTileLayer("toner-lite"); - map.addLayer(layer).locate({setView: true, maxZoom: 10}); + map.addLayer(layer).locate({setView: true, maxZoom: 7}); $('#splash button').click(function(e){ e.preventDefault(); $('#splash').hide(); From 7b9a71c25db09caac027093886a538bb3679d13e Mon Sep 17 00:00:00 2001 From: Shawn Landden Date: Sun, 3 Feb 2013 12:03:54 -0800 Subject: [PATCH 7/9] dollar sign --- public/js/counties-overlay.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/js/counties-overlay.js b/public/js/counties-overlay.js index 025789b..6c87c19 100644 --- a/public/js/counties-overlay.js +++ b/public/js/counties-overlay.js @@ -26,7 +26,7 @@ function addOverlay(house) { $("#mouseinfo").html(d.properties.name + "
" + "$/eligible: " + layer_data[d.properties.district]["moneypereligiblevoter"] + "
" + "# Contributions: " + layer_data[d.properties.district]["nocontributions"] + "
" + - "Total $ spent: " + layer_data[d.properties.district]["totalmoneyspent"] + "
" + + "Total $ spent: $" + layer_data[d.properties.district]["totalmoneyspent"] + "
" + "Votes/eligible: " + vpe + "%" + "
" + "Votes/registered: " + vpr + "%" ); From b81a759ab917d6b881bbd8ec6e3255b50d97bd1a Mon Sep 17 00:00:00 2001 From: Shawn Landden Date: Sun, 3 Feb 2013 12:04:14 -0800 Subject: [PATCH 8/9] dollar sign --- public/js/counties-overlay.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/js/counties-overlay.js b/public/js/counties-overlay.js index 6c87c19..76f27b6 100644 --- a/public/js/counties-overlay.js +++ b/public/js/counties-overlay.js @@ -26,7 +26,7 @@ function addOverlay(house) { $("#mouseinfo").html(d.properties.name + "
" + "$/eligible: " + layer_data[d.properties.district]["moneypereligiblevoter"] + "
" + "# Contributions: " + layer_data[d.properties.district]["nocontributions"] + "
" + - "Total $ spent: $" + layer_data[d.properties.district]["totalmoneyspent"] + "
" + + "Total spent: $" + layer_data[d.properties.district]["totalmoneyspent"] + "
" + "Votes/eligible: " + vpe + "%" + "
" + "Votes/registered: " + vpr + "%" ); From b91da088e67dcf20f31068b981ed3c6befb03372 Mon Sep 17 00:00:00 2001 From: Matthew Gerring Date: Sun, 3 Feb 2013 12:06:22 -0800 Subject: [PATCH 9/9] colorz --- public/css/style.less | 38 ++++++++++++++++++++++++++++++++++- public/js/counties-overlay.js | 3 +++ 2 files changed, 40 insertions(+), 1 deletion(-) diff --git a/public/css/style.less b/public/css/style.less index 51c67e4..8876fd9 100644 --- a/public/css/style.less +++ b/public/css/style.less @@ -135,11 +135,47 @@ body.footer-up { left:30%; } + + path { fill: #000; - fill-opacity: .2; + fill-opacity: .8; stroke: #fff; stroke-width: 1.5px; + .apathy( @num ) { + fill: lighten(#b63b3d,percentage(@num)); + } + + &.apathy-1{ + .apathy(0); + } + &.apathy-2{ + .apathy(.05); + } + &.apathy-3{ + .apathy(.10); + } + &.apathy-4{ + .apathy(.15); + } + &.apathy-5{ + .apathy(.20); + } + &.apathy-6{ + .apathy(.25); + } + &.apathy-7{ + .apathy(.30); + } + &.apathy-8{ + .apathy(.35); + } + &.apathy-9{ + .apathy(.40); + } + &.apathy-10{ + .apathy(.45); + } } path:hover { diff --git a/public/js/counties-overlay.js b/public/js/counties-overlay.js index 2e10a8f..e98c175 100644 --- a/public/js/counties-overlay.js +++ b/public/js/counties-overlay.js @@ -1,6 +1,8 @@ var layer; var data; var layer_data; +var scale = d3.scale.linear(); +scale.domain([1,100]).rangeRound([1,10]); function addOverlay(house) { @@ -20,6 +22,7 @@ function addOverlay(house) { .enter() .append("path") .attr('data-name', function(d){ return d.properties.name }) + .attr('class', function(d){var blah = scale( layer_data[d.properties.district]["votesperregisterednorm"] ); return 'apathy-'+blah; }) .on('mouseover',function(d){ $("#mouseinfo").html(d.properties.name + "
" + "# Contributions: " + layer_data[d.properties.district]["nocontributions"]);