Skip to main content
100%

act7-ques2

✓ Published0🌍 Public
RRayabarapu Nikhitha
Last edited Nov 7, 2024
Created on Nov 6, 2024
Forked from act7-q1

This example displays an area chart of total insurance charges by age, using data from a CSV file loaded via `d3.csv`. The visualization aggregates charges with `d3.rollups` and `d3.sum`, then renders the result as a smooth area path generated by `d3.area()`, with axes from `d3.axisBottom` and `d3.axisLeft`. The SVG chart includes labeled axes and a title, styled with steelblue strokes and skyblue fills.

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