Activity 6_Task 3_Likitha
✓ Published0🌍 Public
This scatter plot visualizes the Iris dataset, comparing sepal length against petal length. Each dot represents an individual flower, with its color mapped to the species (`Iris-setosa`, `Iris-versicolor`, `Iris-virginica`) via a `d3.scaleOrdinal` color scale and its position determined by `d3.scaleLinear` scales for both axes. The visualization is rendered as an SVG using D3 v7, loading the CSV data via `d3.csv`. An interactive tooltip and subtle size/opacity changes appear on `mouseover`, providing a species detail and enhancing point readability. The chart includes labeled axes and a legend, while a static encoding uses a uniform dot radius.
AI-generated descriptionMIT Licensed