Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Scatter Plot with Menus

Public visualization

Viewing a saved revision (read-only)

7bd7f2d4baef4e80bc9af82adb6342ee

Fork of Scatter Plot with Menus

0 stars0🌍 Public
Bbillmccabeusa@hotmail.com
Last edited Nov 21, 2024
Created on Nov 20, 2024

This example shows a scatter plot of the Iris Dataset, where dropdown menus let users independently select which measured attribute to display on the x- and y-axes. The visualization is built with React 16.9 and D3 v5, using d3.scaleLinear for axis scaling and d3.extent to compute domains. The React components AxisBottom, AxisLeft, and Marks render SVG elements, while the react-dropdown package provides the menu interface. Data loads asynchronously via d3.csv from a GitHub gist, and the plot includes axis labels, tick marks, and a title tooltip on each point.

AI-generated description

A scatter plot of The Iris Dataset.