Skip to content

Latest commit

 

History

History
5 lines (3 loc) · 824 Bytes

README.md

File metadata and controls

5 lines (3 loc) · 824 Bytes

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.