🌍 Public
Viewing a saved revision (read-only)
d6b9477e533e4450bebe520aecdf3775
Activity-7_Question-2
This area chart displays monthly sales data loaded from a CSV file, with a hover interaction that reveals a tooltip showing the exact month and sales value. The visualization uses D3.js v7 to render the SVG area path via the `d3.area` API, with `scaleBand` and `scaleLinear` axes. Transparent rectangles are overlaid on the data region so hovering triggers the tooltip, which fades in and out using D3 transitions.
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.