Activity_6_Task_3_1
✓ Published1🌍 Public
A scatter plot displays the Iris dataset, encoding petal length and petal width along the x and y axes while coloring each point by species (setosa, versicolor, virginica). The chart includes labeled axes, a green axis title, and a red heading. Built with D3 v6, the visualization loads CSV data via `d3.csv`, scales positions using `d3.scaleLinear` and `d3.extent`, and renders circles as SVG elements with `d3.selectAll` and data joins. Axes are drawn using `d3.axisLeft` and `d3.axisBottom`, with the plot sized to the window.
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