Skip to content

Instantly share code, notes, and snippets.

squarednob / Japan_geojson_index.html
Last active Dec 30, 2015 — forked from minikomi/index.html
Japan's geojson and D3 code.
View Japan_geojson_index.html
<!DOCTYPE html>
<meta charset="utf-8">
<script src=""></script>
var width = 960,
height = 700;
var svg ="body").append("svg")

Based on which uses D3 to draw elements into a google maps overlay layer, but doesn't use d3.geo machinery to draw map geometry. This gist illustrates how to align a D3 mercator projection with google maps so we can do standard d3 mapping stuff on top of the google API.