Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Polished Scatter Plot with Menus

Public visualization

Polished Scatter Plot with Menus

0 stars1🌍 Public
Ppnlinyz
Last edited May 9, 2021
Created on May 9, 2021

This example presents an interactive scatter plot of the Iris flower dataset, allowing users to select which numeric attributes to plot on the x- and y-axes via dropdown menus. The visualization uses React for component-based UI and rendering, with D3 v5 utilities such as `scaleLinear`, `extent`, and `format` for scales and axis tick formatting. SVG circles represent data points, colored by species using `scaleOrdinal`, and include tooltips showing exact values. The code leverages a custom `useData` hook to load CSV data asynchronously.

AI-generated description

A program that loads in some data about CSS named colors using D3 utilities, and uses React to render the data as a radial burst!

Comments

Sign in to join the discussion.

MIT Licensed