Activity06Task3.2
✓ Published0🌍 Public
This example visualizes the Iris flower dataset as a scatter plot, mapping sepal length to the x-axis and petal length to the y-axis, with different plant species distinguished by distinct filled symbols. The visualization uses D3.js v7, leveraging `scaleLinear` and `scaleOrdinal` to map data dimensions to chart coordinates and symbol shapes. It loads data from a remote CSV file, computes axis scales, and renders axes with labels via custom `axisLeft` and `axisBottom` utilities. A shape legend, generated using `symbol`, displays the species categories alongside the plot.
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