Skip to content

Instantly share code, notes, and snippets.

@devdiva8
devdiva8 / data.csv
Last active October 16, 2017 11:40
test 3
Name team shift1 shift2
Custom Recs a 0 2
PFC Media Zone a 1 2
Collections a 3 3
Custom Reg Page a 2 2
PFC email a 4 1
DD Recaptcha a 1 3
Reporting a 3 2
Adobe Tags a 3 1
Game Vendor a 5 1
@devdiva8
devdiva8 / Food.csv
Last active October 15, 2017 20:08
test 2
We can make this file beautiful and searchable if this error is corrected: It looks like row 4 should actually have 41 columns, instead of 1. in line 3.
Country,Rank,Score,ScoreReversedHighGood,UndernourishmentStandard,UnderweightStandard,EnoughtoEatScore,EnoughtoEatScoreReversed,FoodPriceLevelStandard,FoodPriceInflationStandard,AffordScore,AffordScoreReversed,NutritionDiversityStandard,SafeWaterStandard,FoodQualityScore,FoodQualityScoreReversed,DiabetesStandard,ObesityStandard,UnhealthyEatingScore,UnhealthyEatingScoreReversed,RawUndernourish,RawUnderweight,RawFoodPrice,RawInflationVolatility,RawDietDiversity,RawSafeWater,RawDiabetes,RawObesity,Code,Region,Incomegroup,Driver1,Driver2,Driver3,DriverBest,DriverBestF,Driver1a,Driver2a,Driver3a,DriverWorst,DriverWorstF
Netherlands,1,6,94,0,0,0,100,6,7,7,93,3,0,2,98,9,25,17,83,13.3,16.6,2.02,0.039440707,57,74.4,8.8,10.3,NLD,Europe & Central Asia,High income: OECD,100,100,100,100,Enough to Eat,7,7,17,17,Unhealthy Eating
France,2,8,92,0,0,0,100,14,3,9,91,10,0,5,95,12,24,18,82,4,0.9,2.03,0.082913198,45,97.8,6.3,7.7,FRA,Europe & Central Asia,High income: OECD,100,100,100,100,Enough to Eat,9,9,18,18,Unhealthy Eating
Sw
@devdiva8
devdiva8 / index.html
Last active October 15, 2017 19:02
testing
<html>
<head><title>Roadmap</title>
<script src="http://d3js.org/d3.v3.min.js"></script>
<link href='http://fonts.googleapis.com/css?family=Lato' rel='stylesheet' type='text/css'>
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body>
<h1>foo</h1>
@devdiva8
devdiva8 / gr4gr8_math_years.csv
Created April 24, 2015 20:05
Ex 6 Time series line chart with newly created array
Year Jurisdiction Grade Measure Race Score 2003 2005 2007 2009 2011 2013
2003 Boston 8 algebra White 289 289 299 309 315 311 311
2003 Boston 8 algebra Black 253 253 258 267 270 278 278
2003 Boston 8 algebra Hispanic 254 254 265 275 271 276 278
2003 Boston 8 algebra All 264 264 273 281 282 287 287
2003 Chicago 8 algebra White 278 278 281 288 292 302 299
2003 Chicago 8 algebra Black 250 250 251 254 259 267 264
2003 Chicago 8 algebra Hispanic 262 262 267 266 271 275 275
2003 Chicago 8 algebra All 259 259 263 264 268 276 274
2003 Houston 8 algebra White 294 294 294 311 314 315 317
@devdiva8
devdiva8 / gr8_algebra_Ex5ALL.csv
Created April 19, 2015 15:27
Ex 5 scatterplot with cross-linked mouseover; added legend
Year Jurisdiction Grade Measure Race Score LunchElig
2013 Boston 8 algebra White 311 43
2013 Boston 8 algebra Black 278 87
2013 Boston 8 algebra Hispanic 278 91
2013 Boston 8 algebra All 287 80
2013 Chicago 8 algebra White 299 45
2013 Chicago 8 algebra Black 264 86
2013 Chicago 8 algebra Hispanic 275 91
2013 Chicago 8 algebra All 274 83
2013 Houston 8 algebra White 317 25
@devdiva8
devdiva8 / gr8_algebra_Ex5ALL.csv
Created April 19, 2015 10:49
Ex. 5 Scatterplot with cross-linked mouseover
2013 Boston 8 algebra White 311 43
2013 Boston 8 algebra Black 278 87
2013 Boston 8 algebra Hispanic 278 91
2013 Boston 8 algebra All 287 80
2013 Chicago 8 algebra White 299 45
2013 Chicago 8 algebra Black 264 86
2013 Chicago 8 algebra Hispanic 275 91
2013 Chicago 8 algebra All 274 83
2013 Houston 8 algebra White 317 25
@devdiva8
devdiva8 / gr8_algebra_Ex5ALL.csv
Created April 17, 2015 14:54
Hover over data points for tooltip built with transition and div
Year Jurisdiction Grade Measure Race Score LunchElig
2013 Boston 8 algebra White 311 43
2013 Boston 8 algebra Black 278 87
2013 Boston 8 algebra Hispanic 278 91
2013 Boston 8 algebra All races 287 80
2013 Chicago 8 algebra White 299 45
2013 Chicago 8 algebra Black 264 86
2013 Chicago 8 algebra Hispanic 275 91
2013 Chicago 8 algebra All races 274 83
2013 Houston 8 algebra White 317 25
@devdiva8
devdiva8 / gr4gr8_math_v3short.csv
Created April 11, 2015 19:43
Ex. 4 scales and axes, plus small multiples
Year Jurisdiction Grade Measure Race Score
2013 Boston 8 algebra White 311
2013 Boston 8 algebra Black 278
2013 Boston 8 algebra Hispanic 278
2013 Boston 8 algebra All races 287
2013 Chicago 8 algebra White 299
2013 Chicago 8 algebra Black 264
2013 Chicago 8 algebra Hispanic 275
2013 Chicago 8 algebra All races 274
2013 Houston 8 algebra White 317
@devdiva8
devdiva8 / gr4gr8_math_v4.csv
Created April 11, 2015 18:51
Small Multiples
Year Jurisdiction Grade Measure Race Score
2013 Boston 8 algebra White 311
2013 Boston 8 algebra Black 278
2013 Boston 8 algebra Hispanic 278
2013 Boston 8 algebra All races 287
2013 Chicago 8 algebra White 299
2013 Chicago 8 algebra Black 264
2013 Chicago 8 algebra Hispanic 275
2013 Chicago 8 algebra All races 274
2013 San Diego 8 algebra White 307
@devdiva8
devdiva8 / gr4gr8_math_v3.csv
Created April 3, 2015 00:47
Exercise 3- horizontal bar chart, sorted
Year Jurisdiction Grade Measure Race Score
2003 Boston 4 algebra White 240
2005 Boston 4 algebra White 249
2007 Boston 4 algebra White 253
2009 Boston 4 algebra White 249
2011 Boston 4 algebra White 257
2013 Boston 4 algebra White 253
2003 Boston 4 algebra Black 224
2005 Boston 4 algebra Black 228
2007 Boston 4 algebra Black 232