Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Task-10

Public visualization

Viewing a saved revision (read-only)

1c92e1a2771f4c49a47f44db5f42bceb

Task-10

0 stars0🌍 Public
Bbhargavr016@gmail.com
Last edited Apr 29, 2024
Created on Apr 29, 2024
Forked from Hello VizHub

This example displays a pie chart with a side legend, both rendered as SVGs. The D3 pie layout computes arc angles based on the percentage values, while d3.arc generates the path data and d3.schemeTableau10 assigns categorical colors. A second SVG contains the legend with colored rectangles and text labels, and the data is loaded from a remote 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.