Skip to main content
100%

World Map Simple

✓ Published0🌍 Public
NNavak94
Last edited Mar 15, 2023
Created on Mar 14, 2023

This example displays a scatter plot of the Iris Dataset on a world map, but the map itself is not rendered—only the data points appear. It loads geographic JSON from the visionscarto-world-atlas package, parses it with `csvParse`, and scales the sepal and petal length values using `scaleLinear` and `extent`. The visualization is drawn with D3 v7, using `selectAll` and `join` to bind circles that represent each flower sample. The code fetches the atlas data asynchronously and updates the state to trigger re-rendering.

AI-generated description

A scatter plot of the Iris Dataset with no axes.

MIT Licensed

Similar vizzes