Export Image

United States Map

Saurabh Gupta

0 views in last 90 days
Last edited Mar 12, 2022
Created on Mar 12, 2022
Forked from Hello VizHub

An example showing the capabilities of VizHub:

Notes:

  1. We have used World Atlas TopoJSON (npm package) and imported as a script in html file (using unpkg)
  2. The data we get from fetching from the API endpoint returns in Topology format but in D3 we have methods to deal with geojson data.
  3. We will convert topojson data into geojson using a library 'Topojson'.
  4. topology.feature can help us do that.
MIT Licensed