Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity-7.1

Public visualization

Activity-7.1

0 stars0🌍 Public
SSiva Kishore Reddy
Last edited Nov 8, 2024
Created on Nov 6, 2024

This animated pie chart visualizes the price distribution of gadgets from a CSV file, with each segment labeled and a corresponding color-coded legend. The visualization uses D3 v7's `d3.pie`, `d3.arc`, and `d3.scaleOrdinal` APIs, rendering SVG paths and text elements. Interactive tooltips appear on mouseover, displaying the gadget name and price. The chart is generated within an 800×500 SVG canvas, with the legend positioned separately and arcs animated from the center.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed