🌍 Public
Viewing a saved revision (read-only)
4d933f8cf1ba4bc0b8b24f6e1154cd33
Acitivty6_task3
This example displays the classic Iris dataset using a D3.js scatter plot, mapping sepal length to the x-axis and petal length to the y-axis. Each flower species (setosa, versicolor, virginica) is represented by a distinct circle color: skyblue, lightgreen, and orange, respectively. The visualization loads CSV data from a remote GitHub raw URL and uses D3 v6 APIs including `csv`, `select`, `scaleLinear`, `extent`, `axisLeft`, and `axisBottom` to render the chart as an SVG. Axis labels are styled and positioned to complete the chart.
AI-generated description