Skip to content

Instantly share code, notes, and snippets.

@plusjade
Created October 22, 2014 23:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save plusjade/fc5082576d0d1494e6aa to your computer and use it in GitHub Desktop.
Save plusjade/fc5082576d0d1494e6aa to your computer and use it in GitHub Desktop.
<!doctype html>
<html>
<head>
<style>
body, html {
width: 100%;
margin: 0;
padding: 0;
}
#map {
width: 1200px;
height: 800px;
}
</style>
<script src="http://d3js.org/d3.v3.min.js"></script>
<script src="http://d3js.org/topojson.v1.min.js"></script>
<script src="http://s3.amazonaws.com/starthere.io/datamaps.world.min.js"></script>
</head>
<body>
<a href="http://datamaps.github.io/">http://datamaps.github.io/</a>
<div id="map"></div>
<script>
var map = new Datamap({element: document.getElementById('map')});
</script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment