Skip to main content
100%

Polished Scatter Plot with Menus

✓ Published1🌍 Public
Ee-ines
Last edited Apr 16, 2021
Created on Apr 16, 2021

This interactive scatter plot uses the classic Iris Dataset, rendered as an SVG in React, to explore relationships between four numeric measurements. Menus built with React-Dropdown let users dynamically select which attributes map to the x and y axes, while d3.scaleLinear and d3.extent compute the scales for each new selection. Axis components and data marks are custom React components that use D3 for tick generation, and a `<title>` element provides a tooltip. The chart deliberately sets `height` shorter than the container to reserve space for the dropdown controls.

AI-generated description

A scatter plot of The Iris Dataset.

MIT Licensed

Similar vizzes