Skip to content

Instantly share code, notes, and snippets.

Forked from mbostock/.block
Last active January 24, 2017 21:45
What would you like to do?
U.S. Land TopoJSON
license: gpl-3.0
height: 600
border: no
<!DOCTYPE html>
<svg width="960" height="600"></svg>
<script src=""></script>
<script src=""></script>
var svg ="svg");
var path = d3.geoPath();
d3.json("", function(error, us) {
if (error) throw error;
.attr("d", path(topojson.feature(us, us.objects.nation)));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment