Skip to main content
100%

Firoze Piechart

✓ Published0🌍 Public
Sshaikfiroze186@gmail.com
Last edited Apr 22, 2024
Created on Apr 22, 2024
Forked from My 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 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