Skip to main content
Public

Share visualization

Loading preview…

World Map Simple

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Before sharing, review the publishing checklist.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportPNG, HTML, source ZIP

World Map Simple

0
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.

Comments

Sign in to join the discussion.

MIT Licensed