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
KKeerthiKandadai
Last edited May 10, 2020
Created on May 10, 2020

This interactive scatter plot from the Iris Dataset lets users explore relationships between different measurements by selecting which features to plot on the X and Y axes via dropdown menus. Built with React and D3 v5, it renders circles as SVG marks with tooltips showing formatted values, using d3.scaleLinear for axes and d3.extent for domain calculation. The ReactDropdown component from react-dropdown manages the attribute selection, while custom AxisBottom, AxisLeft, and Marks components handle the grid and data points.

AI-generated description

A scatter plot of The Iris Dataset.

Comments

Sign in to join the discussion.

MIT Licensed