Skip to content

Instantly share code, notes, and snippets.

@poezn
Created February 28, 2013 19:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save poezn/5059603 to your computer and use it in GitHub Desktop.
Save poezn/5059603 to your computer and use it in GitHub Desktop.
INFO247 - Lab 6 - #5 All from scratch
{"description":"INFO247 - Lab 6 - #5 All from scratch","endpoint":"","display":"svg","public":true,"require":[],"fileconfigs":{"inlet.js":{"default":true,"vim":false,"emacs":false,"fontSize":15},"_.md":{"default":true,"vim":false,"emacs":false,"fontSize":15},"config.json":{"default":true,"vim":false,"emacs":false,"fontSize":15},"data.json":{"default":true,"vim":false,"emacs":false,"fontSize":12},"data.csv":{"default":true,"vim":false,"emacs":false,"fontSize":12},"data_1970.csv":{"default":true,"vim":false,"emacs":false,"fontSize":12},"data_2011.csv":{"default":true,"vim":false,"emacs":false,"fontSize":12}},"fullscreen":false,"play":false,"loop":false,"restart":false,"autoinit":true,"pause":true,"loop_type":"period","bv":false,"nclones":15,"clone_opacity":0.4,"duration":3000,"ease":"linear","dt":0.01}
weekly_hours hourly_earnings industry hourlyearnings_adjusted
37.2 5.25 Information 30.44
37.8 4.74 Construction 27.48
35.9 4.04 Professional and Business services 23.42
43.9 3.77 Mining and logging 21.86
37.6 3.65 Trade, transportation and utilities 21.16
39.6 3.52 Goods-producing 20.41
40.4 3.49 Durable goods 20.23
35.5 3.34 Private service-providing 19.36
39.8 3.24 Manufacturing 18.78
36.6 3.07 Financial Activities 17.80
33.8 2.88 Education and health services 16.70
39 2.85 Nondurable goods 16.52
34.7 2.01 Other Services 11.65
30 1.82 Leisure and hospitality 10.55
weekly_hours hourly_earnings industry hourlyearnings_adjusted
36.2 26.61 Information 26.61
39 23.64 Construction 23.64
35.2 23.12 Professional and Business services 23.12
46.7 24.51 Mining and logging 24.51
33.7 17.15 Trade, transportation and utilities 17.15
40.9 20.66 Goods-producing 20.66
41.9 20.12 Durable goods 20.12
32.4 19.21 Private service-providing 19.21
41.4 18.94 Manufacturing 18.94
36.4 21.91 Financial Activities 21.91
32.3 20.78 Education and health services 20.78
40.8 17.07 Nondurable goods 17.07
30.7 17.32 Other Services 17.32
24.8 11.45 Leisure and hospitality 11.45
// School of Information, UC Berkeley
// INFO 247 Lab 6: D3.js
// http://blogs.ischool.berkeley.edu/i247s13/lab-6-d3-js/
// import the data. This is something that is
// specfic to Tributary. you can import any CSV or JSON
// file (shown in the yellow tab above)
var data_1970 = tb['data_1970'];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment