Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity-7 question-1

Public visualization

Viewing a saved revision (read-only)

d5b103d4a1184d0db733b3b2e437160b

Activity-7 question-1

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

This pie chart visualizes finance portfolio allocation by category, with each slice representing the percentage value of a portfolio component. Built with D3 v7, the visualization uses `d3.pie()` and `d3.arc()` to generate the slices, while `d3.scaleOrdinal` with `d3.schemeSet2` assigns colors. Interactive tooltips appear on hover, and a legend identifies each category. Data is loaded asynchronously from a GitHub-hosted CSV file via `d3.csv`, with values converted to numeric format before rendering in the animated SVG.

AI-generated description