🌍 Public
Viewing a saved revision (read-only)
436127ddae404ad6a08a5e62dd7201f0
Firoze Piechart
This example shows a pie chart of daily activities and their percentage shares, with hovering over each slice revealing the activity name and value via a tooltip. It loads a CSV dataset from a GitHub repository and uses D3 v7 APIs including `d3.csv`, `d3.pie`, and `d3.arc` to compute and draw the arcs. The chart is rendered as SVG within a fixed-size container, with colors assigned from `schemeCategory10` and no sorting applied to the data order.
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.