Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity 6 task 3

Public visualization

Activity 6 task 3

0 stars0🌍 Public
NNithish Karanam
Last edited Apr 5, 2025
Created on Apr 5, 2025

This scatter plot visualizes the Iris dataset, showing the relationship between sepal length and petal length for three Iris species, with each point colored by species category. The D3 v7 code loads the CSV from a GitHub repository, converts string measurements to numbers, and uses `d3.scaleLinear` for the axes, `d3.scaleOrdinal` for the color mapping, and `d3.axisBottom`/`d3.axisLeft` for the tick marks. Points are rendered as SVG circles with an opacity of 0.8, and the chart includes labeled axes titled "Sepal Length" and "Petal Length."

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed