Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Scatter Plot

Public visualization

Viewing a saved revision (read-only)

4cc7308b937848809e02f29453b07346

Fork of Scatter Plot

0 stars2🌍 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.