Skip to main content
Public

Share visualization

Loading preview…

Polished Scatter Plot with Menus

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

Polished Scatter Plot with Menus

0
Bbsolomon103
Last edited Jan 13, 2022
Created on Jan 13, 2022

This interactive scatter plot visualizes the Iris dataset, allowing users to explore relationships between sepal and petal measurements across species. Dropdown menus dynamically change the X and Y axes, redrawing the SVG circles and axis labels in real time. Built with React and D3 v5, the visualization uses `scaleLinear` for axis scaling, `extent` for domain calculation, and custom `AxisBottom`, `AxisLeft`, and `Marks` components for rendering. Data is loaded asynchronously via `csv()` from a remote URL, with tooltips showing formatted values. The chart includes styled tick marks, axis labels, and a clean Poppins font.

AI-generated description

A program that shows the top 10 most populous countries as a bar chart.

Data: United Nations World Population Prospects 2019.

Comments

Sign in to join the discussion.

MIT Licensed