Activity 6 Task 3 Q3
✓ Published0🌍 Public
This example displays a scatter plot of iris flower measurements, showing sepal length against petal length, with species as the grouping variable. The visualization uses SVG rendering through D3 v7 modules, including `d3.scaleLinear` for axes, `d3.scaleOrdinal` with `symbolsFill` for shape encoding, and custom modules for axes and legend creation. Data is loaded from a remote CSV file and parsed with `d3.csvParse`. The code implements a reusable `scatterPlot` function that incorporates `d3.axisBottom` and `d3.axisLeft`, while a custom legend generator displays the shape categories.
AI-generated descriptionMIT Licensed