🌍 Public
Viewing a saved revision (read-only)
dcce360acca74e6abfa70710bfc696ba
Assignment-6_Activity-3.2
This example shows a scatter plot of iris flower measurements, with sepal length on the x-axis, petal length on the y-axis, and species encoded by different symbol shapes. The visualization uses D3 v7’s `scaleLinear`, `scaleOrdinal`, and `symbol` APIs to map data values to positions and shapes, with custom axes and a shape legend drawn via `axisLeft`, `axisBottom`, and a manually constructed legend group. Data is fetched as a CSV from a remote GitHub repository and parsed with `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.