Skip to content

Instantly share code, notes, and snippets.

@peripherie
peripherie / G7GDP.csv
Created April 25, 2015 12:08
G7 GDP (module6)
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 36 in line 3.
COUNTRY,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,2014,2015,2016,2017,2018,2019
CANADA,11212 ,12378 ,12525 ,13443 ,13849 ,14061 ,14438 ,16291 ,19001 ,20828 ,21519 ,21810 ,20877 ,20075 ,19889 ,20572 ,21203 ,21796 ,20962 ,22205 ,24128 ,23658 ,24036 ,28093 ,31925 ,36152 ,40297 ,44383 ,46465 ,40822 ,47531 ,51850 ,52489 ,52037 ,50577 ,52287 ,54056 ,56008 ,57202 ,57010
FRANCE,13111 ,11494 ,10858 ,10329 ,9733 ,10146 ,14003 ,16869 ,18324 ,18324 ,22599 ,22517 ,24718 ,23210 ,24395 ,27894 ,27869 ,25163 ,25950 ,25681 ,23318 ,23342 ,25226 ,30809 ,35154 ,36210 ,37900 ,43156 ,47273 ,43234 ,42249 ,45430 ,42415 ,44099 ,45384 ,45691 ,46895 ,48468 ,50107 ,51854
GERMANY,10699 ,8985 ,8682 ,8692 ,8222 ,8358 ,11929 ,14842 ,15904 ,15632 ,19501 ,22586 ,25551 ,24694 ,26401 ,30862 ,29725 ,26321 ,26588 ,25971 ,23000 ,22835 ,24398 ,29424 ,33090 ,33614 ,35297 ,40485 ,44398 ,40424 ,40496 ,45208 ,42569 ,44999 ,47
@peripherie
peripherie / GDPandLIFESATISFACTION.csv
Created April 19, 2015 18:16
GDP per hour worked vs. Life Satisfaction (module 5)
country GDPperHourWorked LifeSatisfaction
Australia 45.77 7.2
Austria 45.70 7.4
Belgium 52.50 6.9
Canada 42.74 7.4
Chile 19.86 6.5
Czech Republic 28.75 6.3
Denmark 46.88 7.5
Estonia 22.71 5.4
Finland 42.60 7.4
@peripherie
peripherie / d3G7GDP.csv
Created April 12, 2015 10:50
D3 module4
We can make this file beautiful and searchable if this error is corrected: It looks like row 6 should actually have 20 columns, instead of 14 in line 5.
country,2001,2002,2003,2004,2005,2006,2007,2008,2009,2010,2011,2012,2013,Y2014,2015,2016,2017,2018,Y2019
Canada,23658.367,24035.692,28092.963,31925.392,36151.537,40296.667,44382.832,46464.702,40821.771,47530.602,51850.315,52488.725,52037.148,50577.195,52287.296,54055.541,56008.229,57201.927,57009.626
France,23342.092,25226.206,30808.706,35153.793,36209.519,37900.031,43155.504,47273.321,43234.246,42249.064,45430.283,42415.144,44098.695,45383.632,45690.902,46895.046,48467.911,50107.224,51854.429
Germany,22834.833,24397.523,29424.487,33089.635,33613.838,35296.704,40484.994,44397.839,40424.063,40495.848,45207.642,42569.471,44999.496,47200.956,48226.483,50097.337,52183.457,54186.802,56208.602
Italy,19744.638,21575.163,26560.276,30224.76,30918.103,32287.047,36587.144,39523.422,35874.682,34789.377,37031.279,33915.439,34714.703,35511.748,35742.798,36749.395,37910.52,38984.224,40141.584
Japan,32711.098,31241.165,33717.877,36444.19,35780.571,34076.745,34038.349,37865.066,39321.22,42916.744,46175.364,46531.091,38467.786
@peripherie
peripherie / d3G7GDP.csv
Created April 4, 2015 17:01
G7 GDP per capita in 2019 (module3)
We can make this file beautiful and searchable if this error is corrected: It looks like row 6 should actually have 20 columns, instead of 15 in line 5.
country,2001,2002,2003,2004,2005,2006,2007,2008,2009,2010,2011,2012,2013,2014,2015,2016,2017,2018,2019
Canada,23658.367,24035.692,28092.963,31925.392,36151.537,40296.667,44382.832,46464.702,40821.771,47530.602,51850.315,52488.725,52037.148,50577.195,52287.296,54055.541,56008.229,57201.927,57009.626
France,23342.092,25226.206,30808.706,35153.793,36209.519,37900.031,43155.504,47273.321,43234.246,42249.064,45430.283,42415.144,44098.695,45383.632,45690.902,46895.046,48467.911,50107.224,51854.429
Germany,22834.833,24397.523,29424.487,33089.635,33613.838,35296.704,40484.994,44397.839,40424.063,40495.848,45207.642,42569.471,44999.496,47200.956,48226.483,50097.337,52183.457,54186.802,56208.602
Italy,19744.638,21575.163,26560.276,30224.76,30918.103,32287.047,36587.144,39523.422,35874.682,34789.377,37031.279,33915.439,34714.703,35511.748,35742.798,36749.395,37910.52,38984.224,40141.584
Japan,32711.098,31241.165,33717.877,36444.19,35780.571,34076.745,34038.349,37865.066,39321.22,42916.744,46175.364,46531.091,38467.786,3
@peripherie
peripherie / d3G7GDP.csv
Created April 4, 2015 16:46
G7 GDP per capita (module3)
We can make this file beautiful and searchable if this error is corrected: It looks like row 6 should actually have 20 columns, instead of 15 in line 5.
country,2001,2002,2003,2004,2005,2006,2007,2008,2009,2010,2011,2012,2013,2014,2015,2016,2017,2018,2019
Canada,23658.367,24035.692,28092.963,31925.392,36151.537,40296.667,44382.832,46464.702,40821.771,47530.602,51850.315,52488.725,52037.148,50577.195,52287.296,54055.541,56008.229,57201.927,57009.626
France,23342.092,25226.206,30808.706,35153.793,36209.519,37900.031,43155.504,47273.321,43234.246,42249.064,45430.283,42415.144,44098.695,45383.632,45690.902,46895.046,48467.911,50107.224,51854.429
Germany,22834.833,24397.523,29424.487,33089.635,33613.838,35296.704,40484.994,44397.839,40424.063,40495.848,45207.642,42569.471,44999.496,47200.956,48226.483,50097.337,52183.457,54186.802,56208.602
Italy,19744.638,21575.163,26560.276,30224.76,30918.103,32287.047,36587.144,39523.422,35874.682,34789.377,37031.279,33915.439,34714.703,35511.748,35742.798,36749.395,37910.52,38984.224,40141.584
Japan,32711.098,31241.165,33717.877,36444.19,35780.571,34076.745,34038.349,37865.066,39321.22,42916.744,46175.364,46531.091,38467.786,3
@peripherie
peripherie / d3G7GDP.csv
Created March 29, 2015 13:03
G7 GDP (module2)
We can make this file beautiful and searchable if this error is corrected: Unclosed quoted field in line 6.
"Country,2001,2002,2003,2004,2005,2006,2007,2008,2009,2010,2011,2012,2013,2014,2015,2016,2017,2018,2019"
"Canada,23658.367,24035.692,28092.963,31925.392,36151.537,40296.667,44382.832,46464.702,40821.771,47530.602,51850.315,52488.725,52037.148,50577.195,52287.296,54055.541,56008.229,57201.927,57009.626"
"France,23342.092,25226.206,30808.706,35153.793,36209.519,37900.031,43155.504,47273.321,43234.246,42249.064,45430.283,42415.144,44098.695,45383.632,45690.902,46895.046,48467.911,50107.224,51854.429"
"Germany,22834.833,24397.523,29424.487,33089.635,33613.838,35296.704,40484.994,44397.839,40424.063,40495.848,45207.642,42569.471,44999.496,47200.956,48226.483,50097.337,52183.457,54186.802,56208.602"
"Italy,19744.638,21575.163,26560.276,30224.76,30918.103,32287.047,36587.144,39523.422,35874.682,34789.377,37031.279,33915.439,34714.703,35511.748,35742.798,36749.395,37910.52,38984.224,40141.584"
"Japan,32711.098,31241.165,33717.877,36444.19,35780.571,34076.745,34038.349,37865.066,39321.22,42916.744,46175.364,46531.091,
@peripherie
peripherie / G7 GDP per capita in U.S. dollars
Created March 23, 2015 03:01
D3 project - G7 GDP per capita in U.S. dollars (module1)
Country,2001,2002,2003,2004,2005,2006,2007,2008,2009,2010,2011,2012,2013,2014,2015,2016,2017,2018,2019
Canada,23658.367,24035.692,28092.963,31925.392,36151.537,40296.667,44382.832,46464.702,40821.771,47530.602,51850.315,52488.725,52037.148,50577.195,52287.296,54055.541,56008.229,57201.927,57009.626
France,23342.092,25226.206,30808.706,35153.793,36209.519,37900.031,43155.504,47273.321,43234.246,42249.064,45430.283,42415.144,44098.695,45383.632,45690.902,46895.046,48467.911,50107.224,51854.429
Germany,22834.833,24397.523,29424.487,33089.635,33613.838,35296.704,40484.994,44397.839,40424.063,40495.848,45207.642,42569.471,44999.496,47200.956,48226.483,50097.337,52183.457,54186.802,56208.602
Italy,19744.638,21575.163,26560.276,30224.76,30918.103,32287.047,36587.144,39523.422,35874.682,34789.377,37031.279,33915.439,34714.703,35511.748,35742.798,36749.395,37910.52,38984.224,40141.584
Japan,32711.098,31241.165,33717.877,36444.19,35780.571,34076.745,34038.349,37865.066,39321.22,42916.744,46175.364,46531.091,38467.786,3