Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity8tutorial 3

Public visualization

Viewing a saved revision (read-only)

aa0b275a78c744caad06537f8af21e17

Activity8tutorial 3

0 stars0🌍 Public
BBindumadhavi
Last edited Apr 14, 2024
Created on Apr 14, 2024

This scatter plot visualizes the Iris dataset, displaying petal length on the x-axis and petal width on the y-axis. Points are colored by species—skyblue for setosa, lightgreen for versicolor, and orange for virginica—with circle radii fixed at five pixels. The visualization loads data from a remote CSV via `d3.csv`, parses numeric values, and uses `d3.scaleLinear` with `d3.extent` for scales. Axes are generated with `d3.axisLeft` and `d3.axisBottom`. The code also maps sepal dimensions to circle attributes, though these do not affect rendering. SVG elements are bound and updated with `selectAll(...).data(...).join(...)`.

AI-generated description

We are Displaying the IRIS dataset using Scatter plot.