Skip to content

Instantly share code, notes, and snippets.

Felonies Category 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011
MURDER&NON-NEGL.MANSLAUGHTER TotalCrimes 673 649 587 597 570 539 596 496 523 471 536 515
RAPE TotalCrimes 2068 1981 2144 2070 1905 1858 1525 1351 1299 1205 1373 1420
ROBBERY TotalCrimes 32562 28202 27229 25989 24373 24722 23739 21809 22401 18601 19486 19717
FELONYASSAULT TotalCrimes 25924 23453 21147 19139 18622 17750 17309 17493 16284 16773 16956 18482
BURGLARY TotalCrimes 38352 32763 31275 29110 26976 24117 23143 21762 20725 19430 18600 18720
GRANDLARCENY TotalCrimes 49631 46329 45771 46751 48763 48243 46625 44924 44242 39580 37835 38501
GRANDLARCENYOFMOTORVEHICLE TotalCrimes 35442 29531 26656 23413 20884 18246 15745 13174 12482 10670 10329 9314
FELONYPOSSESSIONOFSTOLENPROPERTY TotalCrimes 21945 2114 19765 1545 13581 12501 1175 1073 1016 823 864 823
FORGERY/THEFT_FRAUD/IDENTITYTHEFT TotalCrimes 31891 5594 1902 8112 1789 1831 12579 12075 12216 10225 10055 9876
@Paperpanic
Paperpanic / FelonyOffensesVSArrests-2000-2011.csv
Created April 23, 2015 13:58
Scatterplot: FelonyOffensesVSArrests-2000-2011 In NYC
We can make this file beautiful and searchable if this error is corrected: It looks like row 8 should actually have 18 columns, instead of 12 in line 7.
YEAR,MURDER&NON-NEGL.MANSLAUGHTER,RAPE,ROBBERY,FELONYASSAULT,BURGLARY,GRANDLARCENY,GRANDLARCENYOFMOTORVEHICLE,FELONYPOSSESSIONOFSTOLENPROPERTY,FORGERY/THEFT_FRAUD/IDENTITYTHEFT,ARSON,FELONYSEXCRIMES(3),FELONYDANGEROUSDRUGS(1),FELONYDANGEROUSWEAPONS(2),FEL.CRIMINALMISCHIEF&RELATEDOFFENSES,OTHERFELONIES(4),TOTALFELONYOFFENSES,TOTALARRESTS
2000,673,2068,32562,25924,38352,49631,35442,21945714,31891839,38088,2958,12934,13945,265513,32397,265513,32397
2001,649,1981,28202,23453,32763,46329,29531,2114,5594,2681,1831,30743,3030,16026,13059,237986,28878
2002,587,2144,27229,21147,31275,45771,26656,19765859,1902,1513,29692,2804,13291,13956,225802,28970,28970
2003,597,2070,25989,19139,29110,46751,23413,1545,8112,1492,1295,24076,2511,8400,13786,208286,25676
2004,570,1905,24373,18622,26976,48763,20884,135812984,1789,1263,25824,2987,8074,12454,208826,26676,26676
2005,539,1858,24722,17750,24117,48243,18246,125012896,1831,1162,27391,3748,7776,11800,203329,25610,25610
2006,596,1525,23739,17309,23143,46625,15745,1175,12579,1679,
We can make this file beautiful and searchable if this error is corrected: It looks like row 8 should actually have 18 columns, instead of 12 in line 7.
YEAR,MURDER&NON-NEGL.MANSLAUGHTER,RAPE,ROBBERY,FELONYASSAULT,BURGLARY,GRANDLARCENY,GRANDLARCENYOFMOTORVEHICLE,FELONYPOSSESSIONOFSTOLENPROPERTY,FORGERY/THEFT_FRAUD/IDENTITYTHEFT,ARSON,FELONYSEXCRIMES(3),FELONYDANGEROUSDRUGS(1),FELONYDANGEROUSWEAPONS(2),FEL.CRIMINALMISCHIEF&RELATEDOFFENSES,OTHERFELONIES(4),TOTALFELONYOFFENSES,TOTALARRESTS
2000,673,2068,32562,25924,38352,49631,35442,21945714,31891839,38088,2958,12934,13945,265513,32397,265513,32397
2001,649,1981,28202,23453,32763,46329,29531,2114,5594,2681,1831,30743,3030,16026,13059,237986,28878
2002,587,2144,27229,21147,31275,45771,26656,19765859,1902,1513,29692,2804,13291,13956,225802,28970,28970
2003,597,2070,25989,19139,29110,46751,23413,1545,8112,1492,1295,24076,2511,8400,13786,208286,25676
2004,570,1905,24373,18622,26976,48763,20884,135812984,1789,1263,25824,2987,8074,12454,208826,26676,26676
2005,539,1858,24722,17750,24117,48243,18246,125012896,1831,1162,27391,3748,7776,11800,203329,25610,25610
2006,596,1525,23739,17309,23143,46625,15745,1175,12579,1679,
We can make this file beautiful and searchable if this error is corrected: It looks like row 8 should actually have 18 columns, instead of 12 in line 7.
YEAR,MURDER&NON-NEGL.MANSLAUGHTER,RAPE,ROBBERY,FELONYASSAULT,BURGLARY,GRANDLARCENY,GRANDLARCENYOFMOTORVEHICLE,FELONYPOSSESSIONOFSTOLENPROPERTY,FORGERY/THEFT_FRAUD/IDENTITYTHEFT,ARSON,FELONYSEXCRIMES(3),FELONYDANGEROUSDRUGS(1),FELONYDANGEROUSWEAPONS(2),FEL.CRIMINALMISCHIEF&RELATEDOFFENSES,OTHERFELONIES(4),TOTALFELONYOFFENSES,TOTALARRESTS
2000,673,2068,32562,25924,38352,49631,35442,21945714,31891839,38088,2958,12934,13945,265513,32397,265513,32397
2001,649,1981,28202,23453,32763,46329,29531,2114,5594,2681,1831,30743,3030,16026,13059,237986,28878
2002,587,2144,27229,21147,31275,45771,26656,19765859,1902,1513,29692,2804,13291,13956,225802,28970,28970
2003,597,2070,25989,19139,29110,46751,23413,1545,8112,1492,1295,24076,2511,8400,13786,208286,25676
2004,570,1905,24373,18622,26976,48763,20884,135812984,1789,1263,25824,2987,8074,12454,208826,26676,26676
2005,539,1858,24722,17750,24117,48243,18246,125012896,1831,1162,27391,3748,7776,11800,203329,25610,25610
2006,596,1525,23739,17309,23143,46625,15745,1175,12579,1679,
@Paperpanic
Paperpanic / FelonyOffensesVSArrests-2000-2011.csv
Created April 13, 2015 01:55
FelonyOffensesVSArrests-2000-2011, Module 2 Exercise
We can make this file beautiful and searchable if this error is corrected: It looks like row 8 should actually have 18 columns, instead of 12 in line 7.
YEAR,MURDER&NON-NEGL.MANSLAUGHTER,RAPE,ROBBERY,FELONYASSAULT,BURGLARY,GRANDLARCENY,GRANDLARCENYOFMOTORVEHICLE,FELONYPOSSESSIONOFSTOLENPROPERTY,FORGERY/THEFT_FRAUD/IDENTITYTHEFT,ARSON,FELONYSEXCRIMES(3),FELONYDANGEROUSDRUGS(1),FELONYDANGEROUSWEAPONS(2),FEL.CRIMINALMISCHIEF&RELATEDOFFENSES,OTHERFELONIES(4),TOTALFELONYOFFENSES,TOTALARRESTS
2000,673,2068,32562,25924,38352,49631,35442,21945714,31891839,38088,2958,12934,13945,265513,32397,265513,32397
2001,649,1981,28202,23453,32763,46329,29531,2114,5594,2681,1831,30743,3030,16026,13059,237986,28878
2002,587,2144,27229,21147,31275,45771,26656,19765859,1902,1513,29692,2804,13291,13956,225802,28970,28970
2003,597,2070,25989,19139,29110,46751,23413,1545,8112,1492,1295,24076,2511,8400,13786,208286,25676
2004,570,1905,24373,18622,26976,48763,20884,135812984,1789,1263,25824,2987,8074,12454,208826,26676,26676
2005,539,1858,24722,17750,24117,48243,18246,125012896,1831,1162,27391,3748,7776,11800,203329,25610,25610
2006,596,1525,23739,17309,23143,46625,15745,1175,12579,1679,
We can make this file beautiful and searchable if this error is corrected: It looks like row 6 should actually have 20 columns, instead of 18 in line 5.
AgeGroup,Borough,1960,1960PercentPopulation,1970,1970PercentPopulation,1980,1980PercentPopulation,1990,1990PercentPopulation,2000,2000PercentPopulation,2010,2010PercentPopulation,2020,2020PercentPopulation,2030,2030PercentPopulation,2040,2040PercentPopulation
School-Age(5to17),NYCTotal,1463279,18.8%,1617310,20.49%,1291705,18.27%,1190021,16.25%,1404316,17.54%,1260400,15.29%,1282814.167,15.%,1347035.911,15.27%,1342096.684,14.87%
School-Age(5to17),Bronx,275325,19.32%,331588,22.53%,251366,21.5%,231489,19.23%,288308,21.63%,265052,19.14%,259013,17.9%,277830,18.29%,281688,17.84%
School-Age(5to17),Brooklyn,527360,20.07%,588273,22.61%,453116,20.31%,429418,18.66%,478912,19.43%,424704,16.64%,441049,16.65%,461688,16.76%,454949,16.02%
School-Age(5to17),Manhattan,258476,15.22%,243423,15.81%,186389,13.05%,173437,11.66%,187758,12.21%,157856,9.95%,162931.0279,9.95%,177440,10.58%,170114,10.06%
School-Age(5to17),Queens,348996,19.29%,379369,19.1%,323532,17.11%,289639,14.84%,366604,16.44%,331926,14.75%,341062.3,14.64%,350544,14.7
We can make this file beautiful and searchable if this error is corrected: It looks like row 8 should actually have 18 columns, instead of 12 in line 7.
YEAR,MURDER&NON-NEGL.MANSLAUGHTER,RAPE,ROBBERY,FELONYASSAULT,BURGLARY,GRANDLARCENY,GRANDLARCENYOFMOTORVEHICLE,FELONYPOSSESSIONOFSTOLENPROPERTY,FORGERY/THEFT_FRAUD/IDENTITYTHEFT,ARSON,FELONYSEXCRIMES(3),FELONYDANGEROUSDRUGS(1),FELONYDANGEROUSWEAPONS(2),FEL.CRIMINALMISCHIEF&RELATEDOFFENSES,OTHERFELONIES(4),TOTALFELONYOFFENSES,TOTALARRESTS
2000,673,2068,32562,25924,38352,49631,35442,21945714,31891839,38088,2958,12934,13945,265513,32397,265513,32397
2001,649,1981,28202,23453,32763,46329,29531,2114,5594,2681,1831,30743,3030,16026,13059,237986,28878
2002,587,2144,27229,21147,31275,45771,26656,19765859,1902,1513,29692,2804,13291,13956,225802,28970,28970
2003,597,2070,25989,19139,29110,46751,23413,1545,8112,1492,1295,24076,2511,8400,13786,208286,25676
2004,570,1905,24373,18622,26976,48763,20884,135812984,1789,1263,25824,2987,8074,12454,208826,26676,26676
2005,539,1858,24722,17750,24117,48243,18246,125012896,1831,1162,27391,3748,7776,11800,203329,25610,25610
2006,596,1525,23739,17309,23143,46625,15745,1175,12579,1679,
@Paperpanic
Paperpanic / index.html
Created April 5, 2015 01:45
Exercise Module 3
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Horizontal Bar chart</title>
<script type="text/javascript" src="http://d3js.org/d3.v3.js"></script>
<style type="text/css">
body {
background-color: DarkBlue;
We can make this file beautiful and searchable if this error is corrected: It looks like row 6 should actually have 20 columns, instead of 18 in line 5.
AgeGroup,Borough,1960,1960PercentPopulation,1970,1970PercentPopulation,1980,1980PercentPopulation,1990,1990PercentPopulation,2000,2000PercentPopulation,2010,2010PercentPopulation,2020,2020PercentPopulation,2030,2030PercentPopulation,2040,2040PercentPopulation
School-Age(5to17),NYCTotal,1463279,18.8%,1617310,20.49%,1291705,18.27%,1190021,16.25%,1404316,17.54%,1260400,15.29%,1282814.167,15.%,1347035.911,15.27%,1342096.684,14.87%
School-Age(5to17),Bronx,275325,19.32%,331588,22.53%,251366,21.5%,231489,19.23%,288308,21.63%,265052,19.14%,259013,17.9%,277830,18.29%,281688,17.84%
School-Age(5to17),Brooklyn,527360,20.07%,588273,22.61%,453116,20.31%,429418,18.66%,478912,19.43%,424704,16.64%,441049,16.65%,461688,16.76%,454949,16.02%
School-Age(5to17),Manhattan,258476,15.22%,243423,15.81%,186389,13.05%,173437,11.66%,187758,12.21%,157856,9.95%,162931.0279,9.95%,177440,10.58%,170114,10.06%
School-Age(5to17),Queens,348996,19.29%,379369,19.1%,323532,17.11%,289639,14.84%,366604,16.44%,331926,14.75%,341062.3,14.64%,350544,14.7
Outbreak,Location,Date,Cases,Fatalities
Measles,U.S.,Aug-10,2,
Measles,U.S.,1/2011-5/2011,98,
Measles,Alabama,May-14,1,
Whooping Cough,Alabama-Mobile County,4/2014-6/2014,15,
Whooping Cough,Arizona,Nov-13,12000,
Measles,Arizona,Jul-12,1,
Whooping Cough,Arizona,Apr-12,1,
Measles,Arizona,Apr-14,1,
Measles,Arkansas,Aug-12,2,