Skip to content

Instantly share code, notes, and snippets.

Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
<!DOCTYPE html>
<meta charset="utf-8">
<title>Module3: The Home Nations</title>
<style>
body{
font-family: 'Open Sans', sans-serif;
background:white;
color:#333;
@cnev177
cnev177 / 1-Passenger-transport-by-modev3.csv
Created November 8, 2015 23:14
Distance travelled by car has increased
transport 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013
Cars, vans and taxis 423 428 437 445 467 477 502 539 577 621 628 621 621 644 650 655 671 674 680 689 686 699 721 719 723 719 727 733 727 722 729 710 712 710
Buses and coaches 52 48 48 48 48 49 47 47 46 47 46 44 43 44 44 43 43 44 45 46 47 47 41 45 41 43 41 41 43 44 45 43 42 40
Rail 35 34 31 34 35 36 37 39 41 40 40 39 38 37 36 37 39 42 44 47 47 48 48 50 50 52 55 59 61 61 65 68 70 72
allModes
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Module1</title>
<script type= "text/javascript"src="//d3js.org/d3.v3.min.js" charset="utf-8"></script>
<style type="text/css">
body {
margin: 0;
country dwellingsWithoutBasicFacilities housingExpenditure roomsPerPeSsrson householdNetAdjustedDisposableIncome householdNetFinancialWealth employmentRate jobSecurity longTermUnemploymentRate personalEarnings qualityOfSupportNetwork educationalAttainment studentSkills yearsInEducation airPollution waterQuality consultationOnRuleMaking voterTurnout lifeExpectancy selfReportedHealth lifeSatisfaction assaultRate homicideRate employeesWorkingVeryLongHours timeDevotedToLeisureAndPersonalCare
Australia 1.1 20 2.3 31197 38482 72 4.4 1.06 46585 93 74 512 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 500 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 509 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 402 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 17 15 90 10.5 61 81 88 7.6 1.3 1.7 3.98 14.25
@cnev177
cnev177 / congo-life-expectancy.csv
Created April 28, 2015 14:06
Rwanda and Democratic Republic of the Congo life expectancy at birth life expectancy at birth, 1960-2013
year lifeExpectancy
1960 48.58163415
1961 49.23004878
1962 49.84395122
1963 50.41885366
1964 50.95229268
1965 51.44136585
1966 51.88865854
1967 52.29821951
1968 52.67707317
@cnev177
cnev177 / congo-life-expectancy.csv
Created April 26, 2015 22:22
Rwanda and Democratic Republic of the Congo life expectancy at birth life expectancy at birth, 1960-2013
1960 48.58163415
1961 49.23004878
1962 49.84395122
1963 50.41885366
1964 50.95229268
1965 51.44136585
1966 51.88865854
1967 52.29821951
1968 52.67707317
@cnev177
cnev177 / congo-life-expectancy.csv
Created April 26, 2015 21:43
Rwanda and The Congo's life expectancy 1960 - 2013
1960 48.58163415
1961 49.23004878
1962 49.84395122
1963 50.41885366
1964 50.95229268
1965 51.44136585
1966 51.88865854
1967 52.29821951
1968 52.67707317
@cnev177
cnev177 / index.html
Created April 19, 2015 10:47
Which country spent the most per person on health in 2013?
<!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>
<style type="text/css">
body {
background-color: #fff1e0;
@cnev177
cnev177 / index.html
Created April 18, 2015 19:20
Which country spent the most per person on health in 2013?
<!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>
<style type="text/css">
body {
background-color: #fff1e0;