Skip to content

Instantly share code, notes, and snippets.

@danielatkin
danielatkin / d3-interactive-tree-diagram.markdown
Last active December 31, 2018 00:22
D3 Interactive Tree Diagram
@danielatkin
danielatkin / index.html
Last active December 21, 2018 03:40
interactive tree diagram menu
<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
<script src="http://d3js.org/d3.v3.min.js"></script>
<script src="http://code.jquery.com/jquery-latest.min.js"></script>
<style>
.node circle {
fill: none;
@danielatkin
danielatkin / .gitignore
Last active July 4, 2016 04:08
VIC GEO MAP
.DS_Store
build
node_modules
@danielatkin
danielatkin / bubbleChart2014.csv
Last active May 10, 2016 21:27
Interactive Bubble Chart
objectName reset riskCategory1 riskCategory2 ratingCategory ratingClassValue
182 All-Objects Low Low ratingCategory1 1
83 All-Objects Low Low ratingCategory1 1
93 All-Objects Low Low ratingCategory1 1
48 All-Objects Low Low ratingCategory1 1
74 All-Objects Low Low ratingCategory1 1
31 All-Objects Low Low ratingCategory1 1
90 All-Objects Low Low ratingCategory1 1
42 All-Objects Low Low ratingCategory1 1
151 All-Objects Low Low ratingCategory1 1
@danielatkin
danielatkin / attritionTimeSeries.csv
Last active August 29, 2015 14:19
Updated Attrition Time Series
We can make this file beautiful and searchable if this error is corrected: It looks like row 9 should actually have 14 columns, instead of 6. in line 8.
state,provider,2001,2002,2003,2004,2005,2006,2007,2008,2009,2010,2011,2012
New South Wales,Charles Sturt University,0.2072,0.2148,0.2014,0.212,0.2104,0.2296,0.2422,0.2199,0.2239,0.2333,0.2301,0.227
New South Wales,Macquarie University,0.1486,0.1386,0.1094,0.1041,0.118,0.117,0.1215,0.1124,0.1147,0.1207,0.1273,0.1476
New South Wales,Southern Cross University,0.3213,0.3327,0.2731,0.2773,0.2986,0.2617,0.2635,0.2274,0.263,0.2506,0.258,0.3021
New South Wales,The University of Sydney,0.1228,0.126,0.1168,0.1066,0.1061,0.1045,0.1065,0.099,0.1022,0.1057,0.1046,0.1116
New South Wales,University of New England,0.2667,0.2724,0.2584,0.2566,0.2475,0.2432,0.2386,0.2226,0.2504,0.2467,0.2598,0.2629
New South Wales,University of New South Wales(d),0.1024,0.1051,0.0967,0.1047,0.1061,0.1082,0.1069,0.101,0.0896,0.1007,0.1019,0.0966
New South Wales,University of Newcastle,0.1473,0.1687,0.1528,0.1467,0.1602,0.1659,0.1793,0.1538,0.1652,0.1672,0.1793,0.1681
New South Wales,"University of Technology, Sydney",0.1257,0.1222,0.1085,0.1184
We can make this file beautiful and searchable if this error is corrected: It looks like row 9 should actually have 14 columns, instead of 6. in line 8.
state,provider,2001,2002,2003,2004,2005,2006,2007,2008,2009,2010,2011,2012
New South Wales,Charles Sturt University,0.2072,0.2148,0.2014,0.212,0.2104,0.2296,0.2422,0.2199,0.2239,0.2333,0.2301,0.227
New South Wales,Macquarie University,0.1486,0.1386,0.1094,0.1041,0.118,0.117,0.1215,0.1124,0.1147,0.1207,0.1273,0.1476
New South Wales,Southern Cross University,0.3213,0.3327,0.2731,0.2773,0.2986,0.2617,0.2635,0.2274,0.263,0.2506,0.258,0.3021
New South Wales,The University of Sydney,0.1228,0.126,0.1168,0.1066,0.1061,0.1045,0.1065,0.099,0.1022,0.1057,0.1046,0.1116
New South Wales,University of New England,0.2667,0.2724,0.2584,0.2566,0.2475,0.2432,0.2386,0.2226,0.2504,0.2467,0.2598,0.2629
New South Wales,University of New South Wales(d),0.1024,0.1051,0.0967,0.1047,0.1061,0.1082,0.1069,0.101,0.0896,0.1007,0.1019,0.0966
New South Wales,University of Newcastle,0.1473,0.1687,0.1528,0.1467,0.1602,0.1659,0.1793,0.1538,0.1652,0.1672,0.1793,0.1681
New South Wales,"University of Technology, Sydney",0.1257,0.1222,0.1085,0.1184
We can make this file beautiful and searchable if this error is corrected: It looks like row 8 should actually have 12 columns, instead of 2. in line 7.
OECDMembershipStatus,country,centralGovernmentExpenditures,expendituresOfFirmsForSpecifiedEducationalActivities,expendituresOfHouseholds,Expenditures of private entities other than households,Funds from international agencies and other foreign sources,governmentExpendituresTotal,Local government expenditures,Private expenditures,Regional government expenditures,popnM
Non-Member Country,Russia,7199.43149,0,3428.26743,1485.62983,48.61558,8263.85079,0,4913.89743,1064.41913,142.961
OECD Member Country,Australia,11949.619,0,9052.6732,2887.2762,0,13176.4337,0,11939.9494,1552.6502,22.34
OECD Member Country,Austria,4934.9859,503.3729,127.748,503.3729,0,5076.9039,22.9445,631.1318,118.3195,8.3885
OECD Member Country,Belgium,1614.8023,7.7826,1173.5594,279.8793,176.5473,5798.1787,41.9541,1453.4496,4212.2178,11.0477
OECD Member Country,Canada,0,857.144,8391.552,7944.016,134.848,24967.472,49.408,16335.568,0,34.484
OECD Member Country,Chile,1994.1776,0,3479.5264,381.2944,0,1994.1776,0,3860.8208,0,17.248
OECD Member Country,
We can make this file beautiful and searchable if this error is corrected: It looks like row 8 should actually have 12 columns, instead of 2. in line 7.
OECDMembershipStatus,country,centralGovernmentExpenditures,expendituresOfFirmsForSpecifiedEducationalActivities,expendituresOfHouseholds,Expenditures of private entities other than households,Funds from international agencies and other foreign sources,governmentExpendituresTotal,Local government expenditures,Private expenditures,Regional government expenditures,popnM
Non-Member Country,Russia,7199.43149,0,3428.26743,1485.62983,48.61558,8263.85079,0,4913.89743,1064.41913,142.961
OECD Member Country,Australia,11949.619,0,9052.6732,2887.2762,0,13176.4337,0,11939.9494,1552.6502,22.34
OECD Member Country,Austria,4934.9859,503.3729,127.748,503.3729,0,5076.9039,22.9445,631.1318,118.3195,8.3885
OECD Member Country,Belgium,1614.8023,7.7826,1173.5594,279.8793,176.5473,5798.1787,41.9541,1453.4496,4212.2178,11.0477
OECD Member Country,Canada,0,857.144,8391.552,7944.016,134.848,24967.472,49.408,16335.568,0,34.484
OECD Member Country,Chile,1994.1776,0,3479.5264,381.2944,0,1994.1776,0,3860.8208,0,17.248
OECD Member Country,
We can make this file beautiful and searchable if this error is corrected: It looks like row 8 should actually have 12 columns, instead of 2. in line 7.
OECDMembershipStatus,country,centralGovernmentExpenditures,expendituresOfFirmsForSpecifiedEducationalActivities,expendituresOfHouseholds,Expenditures of private entities other than households,Funds from international agencies and other foreign sources,governmentExpendituresTotal,Local government expenditures,Private expenditures,Regional government expenditures,popnM
Non-Member Country,Russia,7199.43149,0,3428.26743,1485.62983,48.61558,8263.85079,0,4913.89743,1064.41913,142.961
OECD Member Country,Australia,11949.619,0,9052.6732,2887.2762,0,13176.4337,0,11939.9494,1552.6502,22.34
OECD Member Country,Austria,4934.9859,503.3729,127.748,503.3729,0,5076.9039,22.9445,631.1318,118.3195,8.3885
OECD Member Country,Belgium,1614.8023,7.7826,1173.5594,279.8793,176.5473,5798.1787,41.9541,1453.4496,4212.2178,11.0477
OECD Member Country,Canada,0,857.144,8391.552,7944.016,134.848,24967.472,49.408,16335.568,0,34.484
OECD Member Country,Chile,1994.1776,0,3479.5264,381.2944,0,1994.1776,0,3860.8208,0,17.248
OECD Member Country,
@danielatkin
danielatkin / chartStyle.css
Last active August 29, 2015 14:18
Styled bar chart - OECD Education Spending
body {
font-family: helvetica, calibri, arial, sans-serif;
font-size: 11px;
}
h1 {
margin: 0;
padding-left: 10px;
padding: 0;
}