topogram
topogram copied to clipboard
Continuous area cartograms with d3 and TopoJSON
Seems to be some things not correctly moved over with the renaming from d3-cartogram to topogram. I tried simply pointing the import to the cartogram.js file, but then I get...
When some points are outside projection space, they're stored as null. Later in the code, there's an attempt to get the `[0]` coordinate of that `null`, which breaks everything. This...
In the commented out example of how to use the code it only refers to topology (and not also the geometry) variable: - var features = cartogram(topology);
I am currently trying to implement this algorithm in Three.js cartogram. But I have a problem. for example: Region 1 has 4500 vertices. to read the format topojson is more...
we test the toy code given by this repo, [view source](http://zhicongchen.github.io/newsmap/china-cartogram) However, it encounters a type error: Uncaught TypeError: Cannot read property '0' of null Any idea?
Would it be possible for the cartogram to scale features absolutely as well as relatively? Only the latter seems to occur at the moment that is, total area seems to...
Doesn't fail gracefully when there's nothing in the hash ![screen shot 2014-01-13 at 8 13 58 pm](https://f.cloud.github.com/assets/1212178/1907581/523156b0-7cd2-11e3-9969-9efdbb7ab14f.png)
Currently I'm [scaling state values linearly from 1 to 1000](https://github.com/shawnbot/d3-cartogram/blob/master/index.html#L329-L332), which seems unnecessarily arbitrary. A linear scale of 0 to 1 doesn't work either, but in theory it should because...
fixes https://github.com/shawnbot/topogram/issues/36