Skip to content

Instantly share code, notes, and snippets.

Daniel Zhang daniel0128

Block or report user

Report or block daniel0128

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@daniel0128
daniel0128 / cadata200.tsv
Last active Mar 21, 2016
LineGraph with first 200 lines
View cadata200.tsv
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
View cadata.tsv
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 Mar 7, 2016
Double side bar chart of world gdp and mortality.
View UN.csv
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 Mar 7, 2016
Bubble chart for word gdp.
View UN.csv
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 Mar 7, 2016
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
View UN.csv
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 Mar 7, 2016
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
View UN.csv
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 Mar 7, 2016
The barchart of house data. Each bar represents the median house value Only contains the first 200 line of data.
View cadata200.tsv
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 Mar 7, 2016
The parallel coordinates of house. (In case of loading slowly, I chose first 200 lines of data.)
View cadata200.tsv
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 Mar 7, 2016
scatter matrix of house. (I choose first 200 lines of data, for the whole data is extremly large)
View cadata200.tsv
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
You can’t perform that action at this time.