Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/shawnbot/topogram
Continuous area cartograms with d3 and TopoJSON
https://github.com/shawnbot/topogram
cartogram javascript topojson topology
Last synced: 4 days ago
JSON representation
Continuous area cartograms with d3 and TopoJSON
- Host: GitHub
- URL: https://github.com/shawnbot/topogram
- Owner: shawnbot
- License: mit
- Created: 2012-11-26T16:28:53.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2023-04-14T23:48:10.000Z (over 1 year ago)
- Last Synced: 2024-10-26T18:45:24.706Z (9 days ago)
- Topics: cartogram, javascript, topojson, topology
- Language: HTML
- Homepage:
- Size: 1.62 MB
- Stars: 326
- Watchers: 22
- Forks: 131
- Open Issues: 14
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-d3 - d3-topogram - Continuous area cartograms based on TopoJSON (Maps)
- awesome-d3 - d3-topogram - Continuous area cartograms based on TopoJSON (Maps)
- awesome-d3 - d3-topogram - Continuous area cartograms based on TopoJSON (Maps)
- awesome-starred - shawnbot/topogram - Continuous area cartograms with d3 and TopoJSON (javascript)
README
# Topogram
This is a JavaScript implementation of [an algoritm to construct continuous area cartograms](http://lambert.nico.free.fr/tp/biblio/Dougeniketal1985.pdf), by James A. Dougenik, Nicholas R. Chrisman and Duane R. Niemeyer, ©1985 by the Association of American Geographers. It relies heavily on [d3](http://github.com/mbostock/d3) for rendering and [TopoJSON](http://github.com/mbostock/topojson) both for writing and reading topological JSON geodata.
The [included example](https://github.com/shawnbot/topogram/blob/master/index.html) combines TopoJSON-encoded and boundaries of the United States from [Natural Earth](http://www.naturalearthdata.com/downloads/110m-cultural-vectors/) with [2011 US Census population estimates](http://www.census.gov/popest/data/state/totals/2011/) to size each state proportionally.