🌍 Public
Viewing a saved revision (read-only)
f3b7da8f814b452aa48e252f020f0d90
activity6_tutorial3.2
This visualization is a D3.js scatter plot of the Iris dataset, showing sepal length on the x-axis and petal length on the y-axis, with points colored and shaped by species. Using the `d3` library’s `scaleLinear`, `scaleOrdinal`, and `symbolsFill`, it encodes the categorical species variable through both color and shape, with a legend generated via the custom `shapeLegend` function. The plot leverages `join` operations and `axisLeft`/`axisBottom` for axes, and it loads data via `csvParse` from a remote URL.
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.