Skip to main content
100%

activity6_Task3_tutorial3.1

✓ Published1🌍 Public
Oorusushanth2002@gmail.com
Last edited Apr 1, 2025
Created on Apr 1, 2025
Forked from Hello VizHub

This scatter plot visualizes the Iris dataset, showing the relationship between petal length and petal width, with each of the 150 flowers colored by species (setosa, versicolor, virginica). The chart uses a D3 v6 pipeline that loads CSV data from a GitHub repository, applies linear scales to map data values to pixel coordinates, and renders points as SVG circles with a fixed radius. The code leverages the `d3.csv`, `d3.scaleLinear`, `d3.extent`, `d3.axisLeft`, and `d3.axisBottom` APIs to construct axes and position marks, while a custom switch function assigns categorical colors to each species group.

AI-generated description
MIT Licensed

Similar vizzes