Friday 30 August 2019

D3 object projection can't set to center

Hi, so i'v been wanting to create a choropleth map of the philippine map using D3 im using topoJSON for my geodata. so i have a bit of a problem to center the object or adjust it's position. i have using the center function with .geoMercator() but still no changes here's what happen.​It's pushing to the far right.Here's my code.

Philippines

and the link for the topoJSON file: https://raw.githubusercontent.com/deldersveld/topojson/master/countries/philippines/philippines-provinces.json

Submitted August 30, 2019 at 04:12PM by Magic-Sarap

No comments:

Post a Comment