🌍 Public
Viewing a saved revision (read-only)
4d8bc64ac87444f5a31a616bfcdd6bb1
Activity6_Task3.2
This scatter plot visualizes the Iris dataset, mapping sepal length on the x-axis and petal length on the y-axis, with species distinguished by different symbol shapes. Built with D3 v7, it uses d3.scaleLinear for axes, d3.scaleOrdinal with d3.symbolsFill for shape encoding, and d3.symbol to render marks. A custom shape legend displays species labels, while d3.axisBottom and d3.axisLeft generate the axes. Data is loaded asynchronously from a CSV file and parsed with d3.csvParse.
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.