Assignment-2_Pie chart
✓ Published0🌍 Public
This example visualizes the distribution of social media reach across various hashtags using a pie chart. Each slice represents a hashtag, with its size proportional to the number of mentions and labeled with the percentage of total reach. The D3.js code employs `d3.pie()`, `d3.arc()`, and the `d3.scaleOrdinal()` color scheme, rendering the chart as SVG. A tooltip displays detailed percentages and reach values on mouseover, while a legend lists each hashtag with its corresponding color.
AI-generated descriptionCreating Pie chart using Social Media dats
MIT Licensed