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> | |
<meta charset="utf-8"> | |
<style> | |
/* CSS goes here. */ | |
</style> | |
<body> | |
<script src="http://d3js.org/d3.v3.min.js"></script> | |
<script src="http://d3js.org/topojson.v1.min.js"></script> |
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> | |
<meta charset="utf-8"> | |
<style> | |
svg { | |
font: 10px sans-serif; | |
display: inline; | |
} | |
.key path { |
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> | |
<meta charset="utf-8"> | |
<style> | |
svg { | |
font: 10px sans-serif; | |
display: inline; | |
} | |
.symbol { |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
state | awarded | population | exchange | cpc | |
---|---|---|---|---|---|
Alabama | 9,772,451 | 4,822,023 | 2 | ||
Alaska | 0 | 731,449 | 0 | ||
Arizona | 30,877,097 | 6,553,255 | 5 | ||
Arkansas | 54,573,738 | 2,949,131 | 19 | ||
California | 910,605,370 | 38,041,430 | TRUE | 24 | |
Colorado | 178,683,411 | 5,187,582 | TRUE | 34 | |
Connecticut | 184,096,903 | 3,590,347 | TRUE | 51 | |
Delaware | 12,936,639 | 917,092 | 14 | ||
Florida | 1,000,000 | 19,317,568 | 0 |
We can make this file beautiful and searchable if this error is corrected: It looks like row 2 should actually have 6 columns, instead of 7. in line 1.
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
state,License required to purchase a handgun?,License required to purchase a rifle/shotgun,Mental health background check required?,Assualt weapons regulated?,Mandatory firearm theft reporting? | |
Vermont,FALSE,FALSE,FALSE,FALSE,FALSE,FALSE | |
New Hampshire,FALSE,FALSE,FALSE,FALSE,FALSE,FALSE | |
New York,TRUE,FALSE,TRUE,TRUE,TRUE,TRUE | |
Massachusetts,TRUE,TRUE,TRUE,TRUE,TRUE,TRUE | |
Connecticut,TRUE,TRUE,TRUE,TRUE,TRUE,TRUE |
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> | |
<meta charset="utf-8"> | |
<style> | |
svg { | |
border: 1px solid black; | |
background: #86b2dd; | |
margin: 20px auto; | |
display: block; | |
} | |
</style> |
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
#!/usr/local/bin/python | |
import csv | |
def date_to_winter(): | |
f = csv.reader(open('vt-temp.csv', 'rU')) | |
dates = [l for l in f] | |
del dates[0:2] | |
date_row = [] |
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> | |
<meta charset="utf-8"> | |
<style> | |
body { | |
} | |
.land { | |
fill: white; | |
stroke: #bbb; |
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> | |
<meta charset="utf-8"> | |
<style> | |
body { | |
margin-top: 70px; | |
margin-left: 25px; | |
} | |
svg { | |
font: 10px sans-serif; |
OlderNewer