so u wanna do a responsive d3

don’t even think about width/height. it’s all about the VIEWBOX, which sets the aspect ratio of that good good svg.

 

https://css-tricks.com/scale-svg/

https://stackoverflow.com/questions/9566792/scale-svg-to-container-without-mask-crop

Advertisements
so u wanna do a responsive d3

Leaflet mega post

Styling specific polygons in a feature collection: http://gis.stackexchange.com/questions/116159/how-to-style-specific-polygons-from-a-geojson-with-leaflet

Leaflet with d3: https://bost.ocks.org/mike/leaflet/

Leaflet with geoJSON: http://leafletjs.com/examples/geojson.html

Correct format for exporting geoJSON with QGIS: http://gis.stackexchange.com/questions/61096/how-to-get-correct-format-of-coordinates-for-export-to-geojson-from-qgis

 

Leaflet mega post