Continuous area cartograms with d3 and TopoJSON
Branch: master
Clone or download
shawnbot Merge pull request #34 from shawnbot/fix-docs
Fix up docs, package-lock.json
Latest commit c9651f7 Apr 14, 2018
Type Name Latest commit message Commit time
Failed to load latest commit information.
data new geometry, 'make' does the right thing Mar 11, 2013
src Removed unused functions Apr 30, 2017
.gitignore Converted code to d3 plugin following… Apr 30, 2017
.npmignore Converted code to d3 plugin following… Apr 30, 2017
placeholder.png better placeholder, styling Dec 4, 2012
rollup.config.js fix up rollup config Apr 13, 2018


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.