Scatter Plot
✓ Published1🌍 Public
AAleksandra Timofejeva
Last edited Jul 12, 2021
Created on Jul 12, 2021
Forked from Rendering Data with React and D3(Bar Chart)
This scatter plot visualizes the Iris dataset, showing sepal length against sepal width, with each point as a fixed-radius teal circle. The data is loaded from a CSV using `d3.csv`, and the chart renders as an SVG within a React app. It uses D3’s `scaleLinear` for both axes, with bottom and left axes generated by custom `AxisBottom` and `AxisLeft` components. The `Marks` component maps data points to SVG circles, and a tooltip is provided via the `<title>` element, formatted using D3’s `format` function.
AI-generated descriptionScatterplot of Iris dataset
MIT Licensed