🌍 Public
Viewing a saved revision (read-only)
1b53d718112f49aba6837c9e3b134817
Activity 6_Task-3.2
This scatter plot visualizes the Iris dataset, mapping sepal length on the x-axis and petal length on the y-axis, with each species distinguished by a unique symbol shape and a corresponding legend. The visualization uses d3.scaleLinear for axes, d3.scaleOrdinal with symbolsFill for shape encoding, and d3.symbol to render the marks. Axes and labels are drawn via custom functions. Data is loaded asynchronously using d3.csvParse from a remote CSV file, and the plot updates responsively to the window size.
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.