topogram
topogram copied to clipboard
cartogram.js receive help to coordinate directly.
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 or less than 4000 vertices. then my problem is that I assign the same number of vertices in Region 1.
i need: 4500 (old vertices) =4500 (new vertices cartogram algorithm.) this is my problem: 4500 (old vertices) =4000 (new vertices cartogram algorithm.)
Someone can help me change cartogram.js to receive directly the coordinates of the regions or failing GeoJSON files where vertices are not lost. d3.js I not know much about, so I need help. with the end result (the new coordinates of the algorithm) the move to Three.js. (sorry i dont speak english) thank you!