Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Assignment 2 3q

Public visualization

Viewing a saved revision (read-only)

b84c53d0d8044060b6bb6438104e7777

Assignment 2 3q

0 stars0🌍 Public
HHarshiiiiiiiip
Last edited Jul 17, 2023
Created on Jul 17, 2023

This scatter plot visualizes the Iris dataset, showing the relationship between petal length and petal width, with each point colored by species (setosa, versicolor, virginica). The visualization uses D3 v6's `csv`, `scaleLinear`, and `axisLeft`/`axisBottom` functions to load data, map coordinates, and render axes within an SVG. While the plot primarily encodes petal measurements, the code also maps sepal length and width to the circle's `rx` and `ry` attributes, though these are overridden by the constant `r` attribute, so the points appear as uniform circles. The title and axis labels are styled with CSS and rendered in a red, serif font.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.