Skip to main content
Public

Share visualization

Loading preview…

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 & exportHTML, source ZIP

Scatter Plot with Menus

0 stars1Public
CChris Briggs
Last edited Nov 17, 2021
Created on Nov 17, 2021

This interactive scatter plot, built with React and D3, visualizes Fisher's Iris dataset. Users can independently select which of four flower measurements to plot on the X and Y axes through dropdown menus. The visualization updates the scatter plot and its axis labels dynamically upon selection. D3's `scaleLinear` and `extent` functions handle the scaling, while React manages the application state. The plot uses SVG circles for each data point and includes native tooltips for precise value inspection.

AI-generated description

A Scatter Plot based on Iris Data

Comments

Sign in to join the discussion.

MIT Licensed