🌍 Public
Viewing a saved revision (read-only)
3b9a0aecad5a42cfab4c6566dc06628d
Activity3_Task3.1
This visualization displays the classic Iris dataset using a scatter plot, with petal length and petal width mapped to the x and y axes. The plot uses colored circles to distinguish the three iris species: setosa in sky blue, versicolor in light green, and virginica in orange. Built with D3 version 6.7.0, the chart renders as an SVG and loads data from a CSV file via the `d3.csv` function. The code utilizes `d3.scaleLinear` for axis scaling, `d3.axisBottom` and `d3.axisLeft` for axis generation, and includes 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.