Skip to main content
100%

Fork of Activity 7 Scatter Plot

✓ Published0🌍 Public
Ccharanshiva769@gmail.com
Last edited Oct 23, 2024
Created on Oct 23, 2024

This scatter plot visualizes the Iris dataset, mapping petal length and width on the x- and y-axes while encoding species with color-coded circles. Each point’s radius is fixed, but the SVG circle’s `rx` and `ry` attributes are redundantly set to sepal dimensions, though visually overridden by the uniform `r` value. The visualization uses D3 v6 to load CSV data, apply linear scales via `d3.scaleLinear`, and render axes with `d3.axisLeft` and `d3.axisBottom`. Axis labels are manually positioned, and the chart fills the browser viewport with margins.

AI-generated description

We are Displaying the IRIS dataset using Scatter plot.

MIT Licensed

Similar vizzes