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.

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 stars0Public
CChris Briggs
Last edited Nov 17, 2021
Created on Nov 17, 2021

This interactive scatter plot displays the Iris dataset, allowing users to select which flower measurements appear on the x- and y-axes via dropdown menus. The visualization renders points as SVG circles using React components and D3 scales, with axes generated through reusable AxisBottom and AxisLeft components. Dropdown selection updates state in the React app, which re-renders the scatter plot with new scale domains and labels. The Iris data is loaded asynchronously from a CSV file using D3's csv function.

AI-generated description

A Scatter Plot based on Iris Data

Comments

Sign in to join the discussion.

MIT Licensed