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
KKwame Porter Robinson
Last edited Dec 16, 2022
Created on Dec 16, 2022

This interactive scatter plot visualizes the Iris flower dataset, allowing users to select which numerical attributes appear on the X and Y axes via dropdown menus. The chart renders data points as SVG circles, with axes and labels updating dynamically. Built with React and D3.js, it utilizes `scaleLinear` for axis scaling, custom `AxisBottom` and `AxisLeft` components for ticks, and the `Marks` component for rendering circles with tooltips. The data is loaded asynchronously from a CSV file using D3's `csv` function.

AI-generated description

A scatter plot of The Iris Dataset.

Comments

Sign in to join the discussion.

MIT Licensed