Skip to main content
100%

Fork of Scatter Plot

✓ Published2🌍 Public
RRachel Chen
Last edited Oct 13, 2023
Created on Sep 21, 2023
Forked from Scatter Plot

This interactive scatter plot visualizes the Iris dataset, displaying measurements of sepal length, sepal width, petal length, and petal width. Users can dynamically select which numerical attribute appears on the X and Y axes via HTML dropdown menus, with points colored by iris species (setosa, versicolor, virginica). The visualization uses D3 v7 with SVG rendering, implementing `scaleLinear`, `extent`, `axisLeft`, and `axisBottom` APIs. The chart redraws its axes and circles whenever a different attribute is chosen, with the y-axis dropdown preventing selection of the same attribute as the x-axis.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes