Skip to content

Commit

Permalink
fix docs ("d3-cartogram" => "topogram")
Browse files Browse the repository at this point in the history
  • Loading branch information
shawnbot committed Apr 13, 2018
1 parent 0331e86 commit c365d86
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# d3-cartogram
# 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/d3-cartogram/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.
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.
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<meta property="og:image" content="placeholder.png">
<script src="http://d3js.org/d3.v4.js"></script>
<script src="https://d3js.org/d3-scale-chromatic.v1.min.js"></script>
<script src="build/d3-cartogram.js"></script>
<script src="build/topogram.js"></script>
<style type="text/css">

body {
Expand Down Expand Up @@ -125,7 +125,7 @@ <h2>About</h2>
colors by <a href="http://colorbrewer2.org">colorbrewer</a>.</p>
</div>

<a href="https://github.com/shawnbot/d3-cartogram/"><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://s3.amazonaws.com/github/ribbons/forkme_right_gray_6d6d6d.png" alt="Fork me on GitHub"></a>
<a href="https://github.com/shawnbot/topogram/"><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://s3.amazonaws.com/github/ribbons/forkme_right_gray_6d6d6d.png" alt="Fork me on GitHub"></a>
</div>
<script>

Expand Down

0 comments on commit c365d86

Please sign in to comment.