Skip to main content
100%

Scatterplot with Iris Data

✓ Published0🌍 Public
SSalman Chowdhury
Last edited Feb 28, 2022
Created on Feb 28, 2022

This scatterplot visualizes the Iris dataset, plotting sepal width against petal length for individual flowers. The visualization uses React components to render SVG elements, with D3 scales (d3.scaleLinear) mapping data coordinates to screen positions. The code loads CSV data via d3.csv, applies numeric type coercion, and builds custom axes (AxisBottom, AxisLeft) alongside circular marks. Each circle includes a native SVG `<title>` element for basic tooltip functionality, with axis labels for Sepal Width and Petal Length displayed on the chart.

AI-generated description

A scatter plot of The Iris Dataset.

MIT Licensed

Similar vizzes