🌍 Public
Viewing a saved revision (read-only)
0bb29e3817a442c992f98fa033cba310
Activity6_Task3.2
A D3.js v7 scatter plot displays the Iris dataset from a CSV file, mapping sepal length to the x-axis and petal length to the y-axis. Species are encoded using different symbol shapes via `d3.symbol` and `scaleOrdinal`, with a custom legend for the shape categories. The visualization uses `d3.scaleLinear` for both axes, `d3.extent` for domains, and custom modules for axes and shape legend rendering, with margins and axis labels configured.
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.