JavaScript HTML Makefile
Latest commit e3833ff Jul 20, 2015 @shawnbot Merge pull request #19 from rufushuang/master
NULL Projection support. And FIX Arctan NaN error.
Permalink
Failed to load latest commit information.
data new geometry, 'make' does the right thing Mar 11, 2013
lib Use TopoJSON v1 instead of v0 Feb 15, 2014
.gitignore ignore vim swapfiles Nov 22, 2012
LICENSE add MIT license Mar 11, 2013
README.md
cartogram.js Merge pull request #19 from rufushuang/master Jul 20, 2015
index.html new link to the algorithm PDF Nov 6, 2013
placeholder.png better placeholder, styling Dec 4, 2012

README.md

d3-cartogram

This is a JavaScript implementation of an algoritm to construct continuous area cartograms, by James A. Dougenik, Nicholas R. Chrisman and Duane R. Niemeyer, ©1985 by the Association of American Geographers. It relies heavily on d3 for rendering and TopoJSON both for writing and reading topological JSON geodata.

The included example combines TopoJSON-encoded and boundaries of the United States from Natural Earth with 2011 US Census population estimates to size each state proportionally.