🌍 Public
Viewing a saved revision (read-only)
8b1ce653bd0d45bdbf71befe7418430e
Fork of Activity 6 tutorial 3-2
This example uses D3 v7 to render a scatter plot of the Iris dataset. It maps sepal length and petal length to the x and y axes, and encodes species using different shapes. The visualization includes labeled axes and a legend for the shape categories. The code demonstrates D3's `scaleLinear`, `scaleOrdinal`, `symbolsFill`, and `symbol` APIs, with data fetched as CSV and parsed using `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.