Skip to content

Instantly share code, notes, and snippets.

@daniel0128
daniel0128 / cadata200.tsv
Last active March 21, 2016 22:09
LineGraph with first 200 lines
We can make this file beautiful and searchable if this error is corrected: It looks like row 6 should actually have 10 columns, instead of 4 in line 5.
id mhv median_income mha total rooms total bedrooms population households latitude longitude
1 4.5260000000000000e+005 8.3252000000000006e+000 4.1000000000000000e+001 8.8000000000000000e+002 1.2900000000000000e+002 3.2200000000000000e+002 1.2600000000000000e+002 3.7880000000000003e+001 -1.2223000000000000e+002
2 3.5850000000000000e+005 8.3013999999999992e+000 2.1000000000000000e+001 7.0990000000000000e+003 1.1060000000000000e+003 2.4010000000000000e+003 1.1380000000000000e+003 3.7859999999999999e+001 -1.2222000000000000e+002
3 3.5210000000000000e+005 7.2573999999999996e+000 5.2000000000000000e+001 1.4670000000000000e+003 1.9000000000000000e+002 4.9600000000000000e+002 1.7700000000000000e+002 3.7850000000000001e+001 -1.2223999999999999e+002
4 3.4130000000000000e+005 5.6430999999999996e+000 5.2000000000000000e+001 1.2740000000000000e+003 2.3500000000000000e+002 5.5800000000000000e+002 2.1900000000000000e+002 3.7850000000000001e+001 -1.2225000000000000e+002
5 3.4220000000000000e+005 3.8462000000000001e+000 5.200
@daniel0128
daniel0128 / cadata.tsv
Last active March 7, 2016 08:46
Line Graph
We can't make this file beautiful and searchable because it's too large.
mhv median_income mha total rooms total bedrooms population households latitude longitude
4.5260000000000000e+005 8.3252000000000006e+000 4.1000000000000000e+001 8.8000000000000000e+002 1.2900000000000000e+002 3.2200000000000000e+002 1.2600000000000000e+002 3.7880000000000003e+001 -1.2223000000000000e+002
3.5850000000000000e+005 8.3013999999999992e+000 2.1000000000000000e+001 7.0990000000000000e+003 1.1060000000000000e+003 2.4010000000000000e+003 1.1380000000000000e+003 3.7859999999999999e+001 -1.2222000000000000e+002
3.5210000000000000e+005 7.2573999999999996e+000 5.2000000000000000e+001 1.4670000000000000e+003 1.9000000000000000e+002 4.9600000000000000e+002 1.7700000000000000e+002 3.7850000000000001e+001 -1.2223999999999999e+002
3.4130000000000000e+005 5.6430999999999996e+000 5.2000000000000000e+001 1.2740000000000000e+003 2.3500000000000000e+002 5.5800000000000000e+002 2.1900000000000000e+002 3.7850000000000001e+001 -1.2225000000000000e+002
3.4220000000000000e+005 3.8462000000000001e+000 5.2000000000000000
@daniel0128
daniel0128 / UN.csv
Created March 7, 2016 08:29
Double side bar chart of world gdp and mortality.
country infant.mortality gdp
Afghanistan 154 2848
Albania 32 863
Algeria 44 1531
American Samoa 11 NA
Andorra NA NA
Angola 124 355
Antigua 24 6966
Argentina 22 8055
Armenia 25 354
@daniel0128
daniel0128 / UN.csv
Created March 7, 2016 07:40
Bubble chart for word gdp.
Afghanistan 154 2848
Albania 32 863
Algeria 44 1531
American Samoa 11 NA
Andorra NA NA
Angola 124 355
Antigua 24 6966
Argentina 22 8055
Armenia 25 354
@daniel0128
daniel0128 / UN.csv
Created March 7, 2016 07:13
Geovisualization of mortality and gdp. The color shows infant.mortality/gdp. The deeper the color, the higher the rate. Country with gray color may be lack of data
Afghanistan 154 2848
Albania 32 863
Algeria 44 1531
American Samoa 11 NA
Andorra NA NA
Angola 124 355
Antigua 24 6966
Argentina 22 8055
Armenia 25 354
@daniel0128
daniel0128 / UN.csv
Created March 7, 2016 07:13
Geovisualization of mortality and gdp. The color shows infant.mortality/gdp. The deeper the color, the higher the rate. Country with gray color may be lack of data
Afghanistan 154 2848
Albania 32 863
Algeria 44 1531
American Samoa 11 NA
Andorra NA NA
Angola 124 355
Antigua 24 6966
Argentina 22 8055
Armenia 25 354
@daniel0128
daniel0128 / cadata200.tsv
Created March 7, 2016 06:59
The barchart of house data. Each bar represents the median house value Only contains the first 200 line of data.
We can make this file beautiful and searchable if this error is corrected: It looks like row 6 should actually have 10 columns, instead of 4 in line 5.
id mhv median income mha total rooms total bedrooms population households latitude longitude
1 4.5260000000000000e+005 8.3252000000000006e+000 4.1000000000000000e+001 8.8000000000000000e+002 1.2900000000000000e+002 3.2200000000000000e+002 1.2600000000000000e+002 3.7880000000000003e+001 -1.2223000000000000e+002
2 3.5850000000000000e+005 8.3013999999999992e+000 2.1000000000000000e+001 7.0990000000000000e+003 1.1060000000000000e+003 2.4010000000000000e+003 1.1380000000000000e+003 3.7859999999999999e+001 -1.2222000000000000e+002
3 3.5210000000000000e+005 7.2573999999999996e+000 5.2000000000000000e+001 1.4670000000000000e+003 1.9000000000000000e+002 4.9600000000000000e+002 1.7700000000000000e+002 3.7850000000000001e+001 -1.2223999999999999e+002
4 3.4130000000000000e+005 5.6430999999999996e+000 5.2000000000000000e+001 1.2740000000000000e+003 2.3500000000000000e+002 5.5800000000000000e+002 2.1900000000000000e+002 3.7850000000000001e+001 -1.2225000000000000e+002
5 3.4220000000000000e+005 3.8462000000000001e+000 5.200
@daniel0128
daniel0128 / cadata200.tsv
Created March 7, 2016 06:53
The parallel coordinates of house. (In case of loading slowly, I chose first 200 lines of data.)
We can make this file beautiful and searchable if this error is corrected: It looks like row 6 should actually have 10 columns, instead of 4 in line 5.
id mhv median income mha total rooms total bedrooms population households latitude longitude
1 4.5260000000000000e+005 8.3252000000000006e+000 4.1000000000000000e+001 8.8000000000000000e+002 1.2900000000000000e+002 3.2200000000000000e+002 1.2600000000000000e+002 3.7880000000000003e+001 -1.2223000000000000e+002
2 3.5850000000000000e+005 8.3013999999999992e+000 2.1000000000000000e+001 7.0990000000000000e+003 1.1060000000000000e+003 2.4010000000000000e+003 1.1380000000000000e+003 3.7859999999999999e+001 -1.2222000000000000e+002
3 3.5210000000000000e+005 7.2573999999999996e+000 5.2000000000000000e+001 1.4670000000000000e+003 1.9000000000000000e+002 4.9600000000000000e+002 1.7700000000000000e+002 3.7850000000000001e+001 -1.2223999999999999e+002
4 3.4130000000000000e+005 5.6430999999999996e+000 5.2000000000000000e+001 1.2740000000000000e+003 2.3500000000000000e+002 5.5800000000000000e+002 2.1900000000000000e+002 3.7850000000000001e+001 -1.2225000000000000e+002
5 3.4220000000000000e+005 3.8462000000000001e+000 5.200
@daniel0128
daniel0128 / cadata200.tsv
Last active March 7, 2016 06:52
scatter matrix of house. (I choose first 200 lines of data, for the whole data is extremly large)
We can make this file beautiful and searchable if this error is corrected: It looks like row 6 should actually have 10 columns, instead of 4 in line 5.
id mhv median income mha total rooms total bedrooms population households latitude longitude
1 4.5260000000000000e+005 8.3252000000000006e+000 4.1000000000000000e+001 8.8000000000000000e+002 1.2900000000000000e+002 3.2200000000000000e+002 1.2600000000000000e+002 3.7880000000000003e+001 -1.2223000000000000e+002
2 3.5850000000000000e+005 8.3013999999999992e+000 2.1000000000000000e+001 7.0990000000000000e+003 1.1060000000000000e+003 2.4010000000000000e+003 1.1380000000000000e+003 3.7859999999999999e+001 -1.2222000000000000e+002
3 3.5210000000000000e+005 7.2573999999999996e+000 5.2000000000000000e+001 1.4670000000000000e+003 1.9000000000000000e+002 4.9600000000000000e+002 1.7700000000000000e+002 3.7850000000000001e+001 -1.2223999999999999e+002
4 3.4130000000000000e+005 5.6430999999999996e+000 5.2000000000000000e+001 1.2740000000000000e+003 2.3500000000000000e+002 5.5800000000000000e+002 2.1900000000000000e+002 3.7850000000000001e+001 -1.2225000000000000e+002
5 3.4220000000000000e+005 3.8462000000000001e+000 5.200