Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Scatterplot

Public visualization

Scatterplot

0 stars1🌍 Public
TThe4star
Last edited Feb 12, 2022
Created on Feb 12, 2022

This scatterplot visualizes the Iris dataset, plotting sepal length against sepal width for individual flower samples, with the data loaded via `d3.csv` and rendered as SVG circles using React. The code uses `d3.scaleLinear` with `d3.extent` and `.nice()` to compute continuous scales for both axes, while custom React components generate the axis ticks and marks. Each point includes a tooltip via an SVG `<title>` element, and the chart includes rotated and positioned axis labels.

AI-generated description

Bar chart with D3

Comments

Sign in to join the discussion.

MIT Licensed