🌍 Public
Viewing a saved revision (read-only)
5d394d97ea46415fa34f016e5992cd49
task8 question 3
This visualization plots the IRIS dataset as a scatter plot, using a CSV of heights and weights with category labels. The code loads the data from a remote URL via `d3.csv`, maps the rows to numeric height and weight values, and computes the scales with `d3.scaleLinear` and `d3.extent`. Circles are drawn in SVG with different fill colors—skyblue, lightgreen, or orange—assigned per category, while `d3.axisLeft` and `d3.axisBottom` create the labeled axes. The visualization displays the distribution of height and weight across the three categories.
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.