Activity6_task3
✓ Published4🌍 Public
This scatter plot visualizes the Iris dataset, using petal length and width for the x and y axes. It colors each point by species—setosa, versicolor, and virginica—with distinct colors and also maps sepal length and width to the circle’s rx and ry attributes, though the effect is subtle. Built with D3 v6 via UNPKG, the code loads data from a raw GitHub CSV, uses `select`, `scaleLinear`, `extent`, `axisLeft`, and `axisBottom` to render axes and circles in an SVG, with custom styling for the title and tick labels.
AI-generated descriptionAn example showing the capabilities of VizHub:
- Loads D3 via UNPKG.
- Demonstrates use of
importfrom"d3". - Demonstrates use of
importfrom local ES6 modules.
MIT Licensed