Skip to content

Instantly share code, notes, and snippets.

@nepomunich
nepomunich / index.html
Created April 16, 2015 20:17
stadium scores
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>1860_homeground_stats</title>
<script type="text/javascript" src="../d3.v3.js"></script>
<style type="text/css">
body {
background-color: #ddddff;
@nepomunich
nepomunich / index.html
Created April 16, 2015 20:08
finally the bars are there...
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>1860_homeground_stats</title>
<script type="text/javascript" src="../d3.v3.js"></script>
<style type="text/css">
body {
background-color: #ddddff;
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>1860_homeground_stats</title>
<script type="text/javascript" src="../d3.v3.js"></script>
<style type="text/css">
body {
background-color: #ddddff;
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>1860_homeground_stats</title>
<script type="text/javascript" src="../d3.v3.js"></script>
<style type="text/css">
body {
background-color: #ddddff;
@nepomunich
nepomunich / index.html
Created March 31, 2015 19:21
1860 soccer homeground stats
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Loading CSV Data with D3</title>
<script type="text/javascript" src="http://d3js.org/d3.v3.js"></script>
</head>
<body>
<p>Not much to see here; try looking in the console!</p>
@nepomunich
nepomunich / oecd better life index sauber.csv
Created March 21, 2015 17:48
OECD better life index csv on gist
We can make this file beautiful and searchable if this error is corrected: It looks like row 2 should actually have 1 column, instead of 12. in line 1.
Country;Dwellings without basic facilities;Housing expenditure;Rooms per person;Household net adjusted disposable income;Household net financial wealth;Employment rate;Job security;Long-term unemployment rate;Personal earnings;Quality of support network;Educational attainment;Student skills;Years in education;Air pollution;Water quality;Consultation on rule-making;Voter turnout;Life expectancy;Self-reported health;Life satisfaction;Assault rate;Homicide rate;Employees working very long hours;Time devoted to leisure and personal care
Australia;1,1;20;2,3;31197;38482;72;4,4;1,06;46585;93;74;514;18,8;13;93;10,5;93;82;85;7,4;2,1;0,8;14,23;14,41
Austria;1;21;1,6;29256;48125;73;3,4;1,07;43837;95;82;498;16,9;27;95;7,1;75;81,1;69;7,5;3,4;0,5;8,61;14,46
Belgium;1,9;20;2,3;27811;78368;62;4,5;3,37;47276;91;71;507;18,8;21;84;4,5;89;80,5;74;7,1;6,6;1,2;4,41;15,71
Brazil;6,7;21;1,4;10310;6875;67;4,8;2,17;7909;90;43;406;16,3;18;67;4;79;73,4;69;7,2;7,9;25,5;10,74;14,97
Canada;0,2;22;2,5;30212;63261;72;6,6;0,9;44017;94;89;522