Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

ObuleshPolicherla_Assignment2

Public visualization

Viewing a saved revision (read-only)

074a03760f6548a1a5881842c8f1349d

ObuleshPolicherla_Assignment2

0 stars0🌍 Public
Ppolicherlaobulesh0611@gmail.com
Last edited Mar 27, 2025
Created on Mar 27, 2025
Forked from Hello VizHub

This example shows a pie chart with an interactive legend that highlights the corresponding slice when a user hovers over a legend item. The visualization uses D3.js v6 to generate the chart through `d3.pie` and `d3.arc`, rendering the slices as SVG paths. The legend is built from the same data array, and hover events trigger a transition that changes the opacity of the matching pie segment. Data is embedded directly in the JavaScript source, with no external dataset.

AI-generated description