Skip to main content
100%

Activity6_Task - 3.1

✓ Published1🌍 Public
NNitish Thotakura
Last edited Apr 3, 2025
Created on Apr 3, 2025
Forked from Hello VizHub

This interactive scatter plot visualizes the Iris dataset, mapping petal length and width to the x and y axes while encoding species identity through point color (setosa in skyblue, versicolor in lightgreen, and virginica in orange). Built with D3 v6 and rendered as SVG, the visualization downloads the CSV data directly from a GitHub repository and uses `d3.scaleLinear`, `d3.extent`, `d3.axisLeft`, and `d3.axisBottom` to construct scales and axes. The code calculates geometry dynamically based on the browser window size and applies distinct styling to axis labels, which are rotated and colored green.

AI-generated description
MIT Licensed

Similar vizzes