Activity6_Task3
✓ Published0🌍 Public
This scatter plot visualizes the Iris dataset, mapping petal length and width for each sample while coloring points by species (setosa, versicolor, or virginica) using a custom color function. The visualization uses D3 v6 APIs including `csv` for loading remote data, `scaleLinear` for axis scaling, and `axisLeft`/`axisBottom` for rendering axes with custom tick styling. The SVG rendering is generated through D3's selection and join operations, with axis labels styled in green Times font.
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