task_3.2 supriya
✓ Published1🌍 Public
This example shows an interactive scatter plot of the Iris dataset, displaying sepal length against petal length. Each point is colored by species, and the plot includes a custom shape legend that maps each species to a distinct symbol using d3.scaleOrdinal and d3.symbolsFill. The visualization loads data from a remote CSV file using d3.csvParse and renders axes with d3.axisLeft and d3.axisBottom. D3 v7 selection methods like join and attr are used to update the SVG elements dynamically.
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