Skip to main content
100%

Generated Visualization

✓ Published0🌍 Public
CCurran Kelleher
Last edited Apr 5, 2025
Created on Apr 5, 2025
Forked from HTML Starter

This interactive scatter plot explores the Iris dataset, displaying measurements of sepal and petal dimensions for three iris species. Users can select which measurement appears on each axis via dropdown menus, with points color-coded by species and accompanied by a legend. The visualization is built with D3.js v7, using d3.csv for data loading, d3.scaleLinear for axes, d3.scaleOrdinal with d3.schemeCategory10 for colors, and d3.axisBottom and d3.axisLeft for rendering the plot in SVG. The view updates dynamically whenever the axis selections change.

AI-generated description

Iris Dataset Scatter Plot

This is an interactive scatter plot visualization of the Iris dataset using D3.js.

Features

  • Interactive scatter plot with the Iris dataset
  • Ability to select different variables for X and Y axes
  • Color-coded by species
  • Responsive design

Dataset

The visualization uses the famous Iris dataset, which includes measurements of:

  • Sepal length
  • Sepal width
  • Petal length
  • Petal width

For three species of iris flowers:

  • Setosa
  • Versicolor
  • Virginica
MIT Licensed

Similar vizzes