🌍 Public
Viewing a saved revision (read-only)
a26cf3eb478540039604999a2c5af0d6
Activity 6 Task-2
This visualization shows the distribution of iris flower counts across three species—setosa, versicolor, and virginica—using a simple bar chart. The code loads the Iris dataset via a remote CSV URL and uses D3 v6 APIs such as `d3.rollup`, `scaleBand`, `scaleLinear`, and axis functions to aggregate and display the data as colored rectangles in an SVG. Each bar is color-coded by species, with hover effects that increase opacity. The chart includes labeled axes for species and count, rendered within a full-window responsive layout.
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.