Skip to main content
100%

Scatter plot with menus

✓ Published1🌍 Public
SShuyu Zheng
Last edited Dec 27, 2020
Created on Dec 27, 2020

This interactive scatter plot displays the Iris dataset, with dropdown menus allowing users to select which attributes appear on the x- and y-axes. Built with React and D3 v5, the visualization uses `scaleLinear` and `extent` to compute scales, mapping the chosen columns to positions of SVG circles. Axis components render ticks and labels, while the `Marks` component adds tooltips via SVG `<title>` elements. The data is loaded asynchronously from a CSV file using D3’s `csv` function.

AI-generated description

A program that render The Iris Dataset using uses React.

MIT Licensed

Similar vizzes