🌍 Public
Viewing a saved revision (read-only)
c73d7dd0f7734b078fb9ebca6fb7c25c
assignment_2_question_2
This area chart shows the number of holidays per year, with steelblue filled areas representing counts over time. The visualization loads holiday data from a CSV file, groups entries by year, and renders a smooth curve using d3.area with curveBasis. It uses D3 v7’s scaleTime, scaleLinear, and axis functions to construct the SVG chart. The example demonstrates loading external data via d3.csv and processing it with d3.group.
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.