Created
August 27, 2015 11:05
-
-
Save enjulee/346e368078ef5c59fd01 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<title>Loading CSV Data with D3</title> | |
<script type="text/javascript" src="../d3.v3.js"></script> | |
</head> | |
<body> | |
<p>DPRK</p> | |
<script type="text/javascript"> | |
//Load in contents of CSV file | |
d3.csv("DPRKstudies.csv", function(data) { | |
//Now CSV contents have been transformed into | |
//an array of JSON objects. | |
//Log 'data' to the console, for verification. | |
console.log(data); | |
}); | |
</script> | |
</body> | |
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Field of Study | both sexes | male | female | urban | rural | |
---|---|---|---|---|---|---|
Teacher training and education science | 591387 | 180062 | 411325 | 405695 | 185692 | |
Arts | 57021 | 30818 | 26203 | 49303 | 7718 | |
Humanities | 67919 | 40194 | 27725 | 55233 | 12686 | |
Social and behavioural science | 87148 | 64621 | 22527 | 64174 | 22974 | |
Journalism and information | 2055 | 1258 | 797 | 1747 | 308 | |
Business and administration | 220533 | 94491 | 126042 | 178383 | 42150 | |
Law | 8054 | 7124 | 930 | 6318 | 1736 | |
Life sciences | 13738 | 7635 | 6103 | 11137 | 2601 | |
Physical sciences | 46405 | 34400 | 12005 | 35766 | 10639 | |
Mathematics and statistics | 49930 | 17616 | 32314 | 39813 | 10117 | |
Computing | 26432 | 18608 | 7824 | 23378 | 3054 | |
Engineering and engineering trades | 594041 | 442643 | 151398 | 455657 | 138384 | |
Manufacturing and processing | 138297 | 61959 | 76338 | 113080 | 25217 | |
Architecture and building | 80184 | 52463 | 27721 | 62630 | 17554 | |
Agriculture, forestry and fishery | 463951 | 320024 | 143927 | 236536 | 227415 | |
Veterinary | 26984 | 18282 | 8702 | 16814 | 10170 | |
Public health | 273324 | 107553 | 165771 | 211195 | 62129 | |
Social services | 716 | 255 | 461 | 548 | 168 | |
Welfare services | 61536 | 26224 | 35312 | 50882 | 10654 | |
Transport services | 57572 | 48486 | 9086 | 44864 | 12708 | |
Environmental protection | 839 | 552 | 287 | 665 | 174 | |
Security services | 99140 | 92951 | 6189 | 68040 | 31100 | |
Not known or unspecified | 5646 | 3777 | 1869 | 4042 | 1604 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment