Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Hello VizHub

Public visualization

Viewing a saved revision (read-only)

1a0aa15dca82406c96001a9dc1fe589a

Fork of Hello VizHub

0 stars0🌍 Public
Aanusha.chilkamarri26@gmail.com
Last edited Apr 7, 2024
Created on Apr 7, 2024
Forked from Hello VizHub

This example presents an age distribution pie chart built with D3 v7. It fetches CSV data from an online source, counts entries into four age brackets, and visualizes the proportions as pie slices with labels. The chart uses `d3.csvParse`, `d3.pie`, `d3.arc`, and a `d3.schemeCategory10` color scale, rendering arcs and a legend inside an SVG.

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.