🌍 Public
Viewing a saved revision (read-only)
be2e902a864441ae9b849f4c5419f90e
Task-9&10 (Q2)
This area chart visualizes the four key attributes of the Iris dataset (sepal length, sepal width, petal length, and petal width) grouped by species. Using d3.v7 with SVG rendering, it overlays four semi-transparent areas with distinct colors (steelblue, orange, green, purple) to compare attribute values across different Iris species. The chart employs d3.scaleBand for the categorical x-axis, d3.scaleLinear for the numeric y-axis, and d3.area to construct the area paths. Data is loaded from an external CSV file via d3.csv, with axis labels and a legend providing context.
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.