🌍 Public
Scatter Plot
This scatter plot visualizes the Iris flower dataset, mapping sepal length and width as positioned circles. Built as a React application using D3 v7 utilities, it loads CSV data via `csv()` and renders the chart as an SVG. The code defines custom `AxisBottom`, `AxisLeft`, and `Marks` components, using `scaleLinear` for scaling and `extent` for domain calculation. Each point is a circle with a tooltip showing its value via an SVG `<title>` element.
AI-generated descriptionA program that loads data about CSS named colors and uses React to render the data.
MIT Licensed
Comments
Sign in to join the discussion.