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 stars0🌍 Public
Wwenleicao
Last edited Sep 28, 2019
Created on Sep 28, 2019

This example shows an interactive scatter plot of the Iris dataset, with dropdown menus allowing the user to select which attributes appear on the x and y axes. The visualization uses React for component management and state, while D3 v5 provides scales and the CSV data loading via `d3.csv`. Points are rendered as SVG circles with tooltips, and axis ticks are generated using `xScale.ticks()` and `yScale.ticks()`. The layout uses fixed dimensions and margins, with axis labels updating dynamically based on the selected attributes.

AI-generated description

A scatter plot of The Iris Dataset.

Comments

Sign in to join the discussion.

MIT Licensed