Skip to main content
100%

Scatter Plot

✓ Published1🌍 Public
AAleksandra Timofejeva
Last edited Jul 12, 2021
Created on Jul 12, 2021

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 description

Scatterplot of Iris dataset

MIT Licensed

Similar vizzes