Activity_6_Tutorial 3.2
✓ Published0🌍 Public
This example demonstrates a scatter plot of the Iris dataset, showing sepal length versus petal length with points shaped according to species. The visualization includes labeled axes and a shape legend for the three species categories. Built with D3 v7, the code creates linear scales, applies an ordinal color shape scale using `symbolsFill`, and renders SVG symbols via `symbolGenerator`. Data is loaded asynchronously from a GitHub-hosted CSV and parsed with `csvParse` before being passed to the chart.
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.
MIT Licensed