Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Polished Scatter Plot with Menus

Public visualization

Viewing a saved revision (read-only)

1b4db867d7d5419fb7800aab3cdb5359

Fork of Polished Scatter Plot with Menus

0 stars0🌍 Public
Rravencyan
Last edited Oct 2, 2022
Created on Oct 2, 2022

This interactive scatter plot displays the Iris flower dataset, encoding each observation as a colored circle based on its species. Dropdown menus allow viewers to switch which flower measurements appear on the x- and y-axes. The React component uses `useState` to manage axis selections, while D3 v5 functions like `scaleLinear`, `scaleOrdinal`, and `extent` handle scaling and domains. Axes are drawn as SVG elements in separate `AxisBottom` and `AxisLeft` components, and `Marks` renders the circles with tooltips, all styled with a Poppins font.

AI-generated description