Skip to main content
Public

Share visualization

Loading preview…

Fork of 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

Fork of Polished Scatter Plot with Menus

0
Wwhiteswallow87
Last edited May 2, 2021
Created on May 2, 2021

This interactive scatter plot visualizes the Iris dataset, allowing users to explore relationships between sepal and petal measurements via dropdown menus that control the x and y axes. Built with React, D3 v5’s `scaleLinear` and `extent` manage the axes, while custom SVG `circle` elements render the data points. The `react-dropdown` library provides the menus, and CSV data is fetched and parsed asynchronously via `d3.csv`. Axis labels and tick marks are generated with D3’s scale API, and hover tooltips display values using a custom formatter.

AI-generated description

A scatter plot of The Iris Dataset.

Comments

Sign in to join the discussion.

MIT Licensed