🌍 Public
Viewing a saved revision (read-only)
3b60458668334f3fb31fdc24c273074a
Task-8(Tutorial-3.2)
This example demonstrates a scatter plot visualizing the Iris dataset, encoding sepal length on the x-axis, petal length on the y-axis, and species as categorical shapes from `d3.symbolsFill`. It loads D3 via UNPKG and uses ES6 modules to separate concerns, including `d3.scaleLinear` for axes, `d3.scaleOrdinal` for shape mapping, and custom functions for rendering axes and a shape legend. Data is fetched as CSV and parsed with `d3.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.