World Map Colored
✓ Published0🌍 Public
This example displays a world map with countries colored in a rainbow sequence, overlaid with graticule grid lines and an outline. The visualization fetches GeoJSON data from the `visionscarto-world-atlas` package, converts it using `topojson-client`, and renders it with `d3.geoPath` and a `geoNaturalEarth1` projection. Each country’s fill color is assigned sequentially via `scaleSequential` and `interpolateRainbow`, based on its index in the features array. The map is drawn using D3’s data join pattern within a React component.
AI-generated descriptionA basic world map.
See also:
MIT Licensed