Skip to main content
100%

Scatterplot with Iris Data

✓ Published1🌍 Public
AArefa Patwary
Last edited Feb 28, 2022
Created on Feb 28, 2022

This scatterplot visualizes the classic Iris dataset, plotting sepal length against sepal width for individual flower samples. Built with React and D3 v7, the visualization renders as an SVG, using `d3.csv` to load data from a GitHub-hosted CSV file. The code employs D3's `scaleLinear` for axis scaling, with custom `AxisBottom` and `AxisLeft` components generating tick marks and labels. Each data point appears as a filled circle with a tooltip showing its sepal length value, while the axes are labeled "Sepal Length" and "Sepal Width." The visualization demonstrates a clean, functional scatterplot with interactive hover details.

AI-generated description

A scatter plot of The Iris Dataset.

MIT Licensed

Similar vizzes