🌍 Public
Viewing a saved revision (read-only)
2cd5d0a4bc984c9e96dab7b39527f774
Area Chart
This area chart visualizes the relationship between petal width and sepal length from the Iris dataset. The visualization uses D3's `scaleLinear`, `axisBottom`, `axisLeft`, and `area` APIs to render a filled area path with light blue coloring. The data is loaded from a remote CSV file containing iris flower measurements, and the chart is displayed with labeled axes within an SVG canvas. The chart computes its scales from the extent of the data and includes configurable width, height, and axis labels through a reusable chart factory function.
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.