🌍 Public
Viewing a saved revision (read-only)
d16182fd42834408b9b53482debf1cd9
TAsk 9 & 10 - Area Chart
This area chart displays yearly cost data from 2000 to 2013, with the filled area representing cost values over time. The visualization uses D3 v6 with SVG rendering, employing d3.area() to create the shaded region and d3.scaleLinear() for both axes. Interactive tooltips appear on hover through invisible circles over each data point, showing the exact year and cost. The chart includes axis labels for "Year" and "Cost", with a light teal fill and darker stroke for the area path.
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.