d3.js - D3 and GeoJSON - strange lines? -



d3.js - D3 and GeoJSON - strange lines? -

why geojson rendered d3 given below code? (should map of uganda)

geojson snippet

"type": "featurecollection", "features": [{ "type": "feature", "properties": { "d_06_id": 1, }, "geometry": { "type": "polygon", "coordinates": [ [ [472470.4185696139, 183515.90337615015]

code

var projection = d3.geo.mercator() .scale(60) var path = d3.geo.path().projection(projection); svg.selectall(".subunit") .data(data.features) .enter().append("path") .attr("d", path);

d3.js geojson

Comments

Popular posts from this blog

c - Compilation of a code: unkown type name string -

java - Bypassing "final local variable defined in an enclosing type" -

json - Hibernate and Jackson (java.lang.IllegalStateException: Cannot call sendError() after the response has been committed) -