Skip to content

Instantly share code, notes, and snippets.

@DimsumPanda
DimsumPanda / africa.topojson
Last active November 18, 2015 02:50
Week 11: Exploration - Africa
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@DimsumPanda
DimsumPanda / childMortality_2015.csv
Last active June 7, 2019 12:20
Week 11: Choropleth Map
country ISO3 mortality
Angola AGO 156.9
Chad TCD 138.7
Somalia SOM 136.8
Central African Republic CAF 130.1
Sierra Leone SLE 120.4
Mali MLI 114.7
Nigeria NGA 108.8
Benin BEN 99.5
Congo, Dem. Rep. COD 98.3
Code ISO3 LongName IncomeGroup Region ShortName
AFG AFG Islamic State of Afghanistan Low income South Asia Afghanistan
ALB ALB Republic of Albania Upper middle income Europe & Central Asia Albania
DZA DZA People's Democratic Republic of Algeria Upper middle income Middle East & North Africa Algeria
ASM ASM American Samoa Upper middle income East Asia & Pacific American Samoa
ADO AND Principality of Andorra High income: nonOECD Europe & Central Asia Andorra
AGO AGO People's Republic of Angola Upper middle income Sub-Saharan Africa Angola
ATG ATG Antigua and Barbuda High income: nonOECD Latin America & Caribbean Antigua and Barbuda
ARG ARG Argentine Republic High income: nonOECD Latin America & Caribbean Argentina
ARM ARM Republic of Armenia Lower middle income Europe & Central Asia Armenia
@DimsumPanda
DimsumPanda / Thumbs.db
Last active November 18, 2015 16:40
Week 10: tooltips
@DimsumPanda
DimsumPanda / highChildMortality_reformat.csv
Last active November 18, 2015 02:22
Week 10: Small Multiples
country year childMortality
Angola 1990 226
Angola 1991 225.9
Angola 1992 226
Angola 1993 225.8
Angola 1994 225.5
Angola 1995 224.8
Angola 1996 224
Angola 1997 222.6
Angola 1998 220.8
@DimsumPanda
DimsumPanda / gdp.csv
Last active November 18, 2015 02:14
Week 9: Grouped Bars
country health military agriculture industry other
Angola 4716918208 6090753194 12492068927 71768457098 29094977306
Burundi 217641361.8 60859466.19 1081116170 481389568.8 873499009.4
Benin 378787504.5 86003151.12 3033957326 1164099198 3644374278
Burkina Faso 776970502.4 163320783.7 2735466520 3366516879 5084048108
Botswana 813296539.8 298461703.3 378531741.5 5592224894 7896791935
Cameroon 1509798861 392840650.6 6766538984 8832000686 12066325474
Cabo Verde 80007150.05 9507426.794 155529136.7 305009655.1 1287856014
Ethiopia 2406019516 384546149.5 21398416446 5678928137 17656818710
Gabon 656309488.1 254027994.7 572771392.1 7699015690 8022958739
@DimsumPanda
DimsumPanda / gdp.csv
Last active November 18, 2015 16:37
Week 9: Stacked Bars
Angola 4716918208 6090753194 12492068927 71768457098 29094977306
Burundi 217641361.8 60859466.19 1081116170 481389568.8 873499009.4
Benin 378787504.5 86003151.12 3033957326 1164099198 3644374278
Burkina Faso 776970502.4 163320783.7 2735466520 3366516879 5084048108
Botswana 813296539.8 298461703.3 378531741.5 5592224894 7896791935
Cameroon 1509798861 392840650.6 6766538984 8832000686 12066325474
Cabo Verde 80007150.05 9507426.794 155529136.7 305009655.1 1287856014
Ethiopia 2406019516 384546149.5 21398416446 5678928137 17656818710
Gabon 656309488.1 254027994.7 572771392.1 7699015690 8022958739
@DimsumPanda
DimsumPanda / deaths_04yearsold_excerpt.csv
Last active October 25, 2015 15:01
Week 9: JS homework
Country Year Meningitis_encephalitis Respiratory_infections Sepsis Pertussis Malaria Measles HIV_Aids Diarrhoeal_diseases Asphyxia_trauma
Angola Year 2013 5461 26392 7199 897 19405 627 1778 22465 14245
Angola Year 2012 5747 26910 7149 893 19692 1278 1769 23655 14150
Angola Year 2000 9282 25989 4172 931 21138 1103 1179 27209 9800
Angola Year 2001 9452 26463 4784 918 21232 3889 1276 27064 9715
Angola Year 2011 6107 27282 7044 911 21331 573 1704 24567 13909
Angola Year 2002 9628 27141 5269 931 21793 5054 1373 26969 10068
Angola Year 2006 10465 30754 6064 1047 22022 602 1590 27001 12620
Angola Year 2003 9840 28190 5219 964 22530 1786 1466 27015 11186
Angola Year 2005 10242 29865 5742 1014 23066 297 1601 26962 12292
@DimsumPanda
DimsumPanda / Thumbs.db
Last active November 18, 2015 02:19
Week 8: Scatter Homework
@DimsumPanda
DimsumPanda / deaths_04yearsold_2013percent.csv
Last active December 5, 2015 22:32
Week 8: Finished Bar Homework
We can make this file beautiful and searchable if this error is corrected: It looks like row 8 should actually have 11 columns, instead of 8. in line 7.
Country,Meningitis_encephalitis,Respiratory_infections,Sepsis,Pertussis,Malaria,Measles,Congenital_anomalies,HIV_AIDS,Diarrhoeal_diseases,Asphyxia_trauma
India,0.042488278,0.233534888,0.145938913,0.007182025,0.009314662,0.046933792,0.123114044,0.00663867,0.184781579,0.200073149
Democratic Republic of the Congo,0.040686134,0.221728479,0.075842245,0.01386753,0.212434283,0.06908283,0.048008834,0.02005919,0.150790387,0.147500089
Indonesia,0.025829262,0.27277861,0.106128312,0.01262,0.030445137,0.076689828,0.185003315,0.017677822,0.092133369,0.180694346
Pakistan,0.042190621,0.28618202,0.163435643,0.021985945,0.001921226,0.020857808,0.075568204,0.000843982,0.175454966,0.211559586
Nigeria,0.043200357,0.207813651,0.071262349,0.016492104,0.287175958,0.007996224,0.044873945,0.042612526,0.133019132,0.145553754
Ethiopia,0.034238059,0.262054587,0.115549659,0.028521607,0.043578469,0.034427597,0.081432904,0.034783927,0.140515542,0.22489765
Afghanistan,0.052876527,0.315089385,0.112120879,0.01908775,9.43E-05,0.061885819,0.0564