Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

PieChart-D3JS

Public visualization

Viewing a saved revision (read-only)

f22ba8f8ab2f412b93dcfee529e922b4

PieChart-D3JS

0 stars0🌍 Public
Kkotagirivarshith2411@gmail.com
Last edited Apr 13, 2025
Created on Apr 13, 2025
Forked from Hello VizHub

This pie chart visualizes the proportional distribution of six named categories (A–F) using their corresponding numeric values, with each slice labeled and a color-coded legend displayed below the chart. The visualization is rendered as SVG using D3.js v7, leveraging `d3.pie()` to compute arc angles, `d3.arc()` for path generation, and a `d3.scaleOrdinal` with the `schemeCategory10` color palette. The direct dataset is hardcoded, and slices are drawn via an enter selection appended to a centered group element.

AI-generated description