Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Task9_Q2

Public visualization

Viewing a saved revision (read-only)

d9a7efd0b54b491f84f4dec20926243f

Task9_Q2

0 stars0🌍 Public
Pparvathi829790@gmail.com
Last edited Apr 20, 2024
Created on Apr 16, 2024
Forked from Hello VizHub

This visualization displays the Iris dataset as an area chart, with each of the three flower species drawn as a separate filled region. Sepal width maps to the x-axis and sepal length to the y-axis, while a categorical color scale distinguishes species. The chart loads CSV data from a remote GitHub repository, parsing numeric fields before grouping rows by species. Using d3.scaleLinear for both axes, d3.area generates the stacked-like paths, and d3.axisBottom and d3.axisLeft render labeled axes with a legend. Data is sorted by sepal width before each path is drawn, with the SVG rendered across the full browser viewport.

AI-generated description

An example showing the capabilities of VizHub:

  • Loads D3 via UNPKG.
  • Demonstrates use of import from "d3".
  • Demonstrates use of import from local ES6 modules.