Skip to content

Instantly share code, notes, and snippets.

View s-haensch's full-sized avatar

Steffen Hänsch s-haensch

View GitHub Profile
@s-haensch
s-haensch / spotifyReleaseYears.csv
Created April 13, 2018 14:04
my spotify playlist songs with earliest release date according to spotify or musicbrainz
playlist artist song release_date release_album according_to
Blues Mississippi Fred McDowell You Gotta Move 1989 You Got To Move spotify
Blues David "Honeyboy" Edwards Further Up on the Road 2001-01-23 Honeyboy Edwards: Missisippi Delta Bluesman spotify
Blues Blind Lemon Jefferson Match Box Blues 2013-01-20 Essential Blind Lemon Jefferson, Vol. 2 spotify
Blues Bukka White Parchman Farm Blues 2006-03-07 Broadcasting the Blues: Black Blues in the Segregation Era (Compiled and Edited by Paul Oliver) spotify
Blues Bo Carter All Around Man 1994-09-05 Complete Recorded Works in Chronological Order, Volume 2: 5 June 1931 to 26 March 1934 musicBrainz
Oldies The Kinks You Really Got Me 2002 The Ultimate Collection spotify
Oldies Leo Sayer You Make Me Feel Like Dancing 2008-01-01 You Make Me Feel Like Dancing - Live spotify
Oldies The Beach Boys Wouldn't It Be Nice 1966-06-16 Pet Sounds spotify
Oldies The Troggs Wild Thing 1985 The Rhino Brothers Present: The World's Worst Records, Volume 2 musicBrainz
@s-haensch
s-haensch / spotify-lists.csv
Last active April 13, 2018 14:29
spotify playlist data
playlist song artist release_date
Blues You Gotta Move Mississippi Fred McDowell 1989
Blues Further Up on the Road David "Honeyboy" Edwards 2001
Blues Match Box Blues Blind Lemon Jefferson 2013
Blues Parchman Farm Blues Bukka White 2006
Blues All Around Man Bo Carter 2005
Cantaloop – Us3 Cantaloop Us3 2007
Cantaloop – Us3 Something Got Me Started Simply Red 1991
Cantaloop – Us3 Bitter Sweet Symphony The Verve 1997
Cantaloop – Us3 Informer Snow 1993
@s-haensch
s-haensch / App.js
Created September 25, 2017 14:58
creating a strip-plot - step 10
// ./src/components/App.js
import React from 'react';
import _ from 'lodash';
import {csv} from 'd3-request';
import StripPlot from './StripPlot';
import Legend from './Legend';
import * as util from './Util';
class App extends React.Component {
constructor (props) {
@s-haensch
s-haensch / App.js
Last active September 25, 2017 15:32
creating a strip-plot - step 9
// ./src/components/App.js
import React from 'react';
import _ from 'lodash';
import {csv} from 'd3-request';
import StripPlot from './StripPlot';
import * as util from './Util';
class App extends React.Component {
constructor (props) {
@s-haensch
s-haensch / App.js
Last active September 25, 2017 15:02
creating a strip-plot - step 8
// ./src/components/App.js
import React from 'react';
import _ from 'lodash';
import {csv} from 'd3-request';
import StripPlot from './StripPlot';
class App extends React.Component {
constructor (props) {
super(props);
this.state = {
@s-haensch
s-haensch / App.js
Last active September 26, 2017 15:42
creating a strip-plot - step 7
// ./src/components/App.js
import React from 'react';
import {scaleLinear} from 'd3-scale';
import _ from 'lodash';
import {csv} from 'd3-request';
import StripSeries from './StripSeries';
import Axis from './Axis';
class App extends React.Component {
constructor (props) {
@s-haensch
s-haensch / App.js
Last active September 6, 2017 13:52
creating a strip-plot - step 6
// ./src/components/App.js
import React from 'react';
import {scaleLinear} from 'd3-scale';
import _ from 'lodash';
import {csv} from 'd3-request';
import StripSeries from './StripSeries';
class App extends React.Component {
constructor (props) {
super(props);
@s-haensch
s-haensch / App.js
Last active September 20, 2017 15:04
creating a strip-plot - step 5
// ./src/components/App.js
import React from 'react';
import {scaleLinear} from 'd3-scale';
import _ from 'lodash';
import {csv} from 'd3-request';
import StripSeries from './StripSeries';
class App extends React.Component {
constructor (props) {
super(props);
@s-haensch
s-haensch / App.js
Last active September 20, 2017 15:04
creating a strip-plot - step 4
// ./src/components/App.js
import React from 'react';
import {scaleLinear} from 'd3-scale';
import _ from 'lodash';
import {csv} from 'd3-request';
class App extends React.Component {
constructor (props) {
super(props);
this.state = {
city notReligious ownedHomes selfEmployed populationChange populationDensity
Berlin 62.56279324 14.77972396 15.57973715 -2.45270567 3948
Hamburg 48.85539781 23.25007563 12.85243705 -7.55535390 2366
München 36.6365135 23.80842983 13.91549005 -15.26185189 4668
Köln 34.2409718 26.02610299 13.36781342 -10.09172322 2619
Frankfurt am Main 41.81785951 19.18427556 11.79778378 -11.98641168 2951
Stuttgart 32.01649148 30.45424447 10.70011113 -7.01416300 3008
Düsseldorf 33.09950391 22.68977715 14.14924001 -5.94336941 2816
Dortmund 28.80361309 26.35246445 10.24915062 2.19625000 2088
Essen 25.53284052 25.67406069 10.93361465 7.61194180 277