Skip to main content
100%

Iris Scatter Plot

✓ Published3🌍 Public
Wwusushi
Last edited Jan 2, 2021
Created on Sep 23, 2020
Forked from Cars Scatter Plot

This interactive scatter plot visualizes the classic Iris dataset, comparing measurements of sepal length, sepal width, petal length, and petal width across three iris species. Users select axes via dropdown menus, and the chart updates its scales, labels, and title dynamically. Built with D3 v5, it uses `scaleLinear`, `axisBottom`, `axisLeft`, and `scaleOrdinal` with `d3.schemeSet1` to color points by species. Each update removes the previous SVG group and re-renders the plot from the CSV data, with circles drawn at a 10-pixel radius and partial opacity.

AI-generated description

This scatter plot shows data about cars, from UCI Machine Learning Repository: Auto MPG Data Set.

MIT Licensed

Similar vizzes