Built with blockbuilder.org
Created
April 20, 2017 22:42
-
-
Save li01012/5087c6618bcbe73dcc2a9e6f14318e30 to your computer and use it in GitHub Desktop.
class12
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
license: mit |
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> | |
<meta charset='utc-8'> | |
<body> | |
<script src="d3js.org/d3.v4.min.js"></script> | |
<script src="d3js.org/topojson.v2.min.js"></script> | |
<script> | |
var width=960, height=500; | |
var svg = d3.select('body').append('svg') | |
.attr('width', width) | |
.attr('height', height) | |
d3.queue() | |
.defer(d3.json,'https://github.com/umbcvis/classes/blob/master/class-12/tracts.json') | |
.defer(d3.json,'https://github.com/umbcvis/classes/blob/master/class-12/population.json') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment