5 ms·
very nice. One tangential question, the example svg maps are not created in the browser. How are these typically created? When I make SVGs they are typically e
by neumann 12y ago
very nice. One tangential question, the example svg maps are not created in the browser. How are these typically created?
When I make SVGs they are typically either plots made with a plotting tool, or paths created from tracing or done purely by hand.
- ricsca 12y agoI did it with d3.js and topojson, then I used the resulting svg image on the website. You can find the code here https://github.com/riccardoscalco/textures/blob/gh-pages/map.js https://github.com/riccardoscalco/textures/blob/gh-pages/map...
- ncza 12y agoIn my opinion the "right" way for static things. Keeps the browser from computing, no need for the original data and libs. Of course being able to inspec other people's d3 code is fun on the other hand.
- neumann 12y agoThanks for the update! I was unaware of the power of geoJSON (also githubs neat mapping of them) and access to data from places such as gadm.org. Is that where you source the data?