DV TASK-8(3)
✓ Published0🌍 Public
This example displays a scatter plot of the Iris dataset, mapping petal length and width for the x and y axes while coloring each point according to its species: setosa, versicolor, or virginica. The visualization uses D3 v6 API functions such as `csv` for data loading, `scaleLinear` for axis scaling, `extent` for domain calculation, and `axisLeft` and `axisBottom` to draw the chart's axes. The SVG circles are rendered with the `select` and `join` methods, with a fixed radius of 5 pixels.
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