News for hackers. Stuff that matters.
Re:Show HN: Textures.js, SVG Patterns for Data Visualization by ricsca on Wednesday March 18, 2015 @09:54AM (#9225430)
I 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...
Re:Show HN: Textures.js, SVG Patterns for Data Visualization by ncza on Wednesday March 18, 2015 @10:52AM (#9225874)
In 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.
Re:Show HN: Textures.js, SVG Patterns for Data Visualization by neumann on Wednesday March 18, 2015 @11:50AM (#9226320)
Thanks 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?