Skip to main content
100%

Assignment-2_Pie chart

✓ Published0🌍 Public
Aabdul.khader2899@gmail.com
Last edited Apr 13, 2024
Created on Apr 12, 2024
Forked from Hello VizHub

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 description

Creating Pie chart using Social Media dats

MIT Licensed

Similar vizzes