Skip to main content
100%

assignmet_2_question_2

✓ Published0🌍 Public
Hharinathchakali@gmail.com
Last edited Jul 13, 2024
Created on Jul 13, 2024
Forked from Hello VizHub

This area chart visualizes the annual count of holidays, showing the number per year over time. The example includes two variations: one parses a static dataset of yearly counts, while the other loads a CSV from a gist and groups the data by year. Using D3 v7 with `scaleTime`, `scaleLinear`, `area`, `curveBasis`, and standard axis elements, it renders the smoothed area in SVG. The chart labels both axes and includes a title, with the data sourced either inline or from the external CSV file.

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.
MIT Licensed

Similar vizzes