Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Task 8 tutorial 3.2

Public visualization

Viewing a saved revision (read-only)

6b02f58d3a5a464497210ff55697b24d

Fork of Task 8 tutorial 3.2

0 stars0🌍 Public
Vvchittimadha@gmail.com
Last edited Apr 15, 2024
Created on Apr 15, 2024

This example shows an interactive scatter plot of the Iris dataset, mapping sepal length to the x-axis, petal length to the y-axis, and using distinct symbols to differentiate the three iris species. A legend with matching shapes identifies each species. The visualization is built with D3 v7, using `d3.scaleLinear` for the axes, `d3.scaleOrdinal` with `symbolsFill` for the shape encoding, and `d3.csvParse` to load the data from a remote CSV file. The chart updates smoothly via a state-based render loop triggered by `setState`.

AI-generated description