🌍 Public
Viewing a saved revision (read-only)
7615205c12864abcbe7d269093a16f92
Activity-7
This pie chart displays the distribution of Indian food types by count, sourced from a CSV file, using an SVG rendering. The visualization aggregates data with `d3.nest` and `d3.rollup`, then employs `d3.pie` and `d3.arc` to construct the slices. Interactive tooltips appear on mouseover, and a color-coded legend identifies each category. The chart is built with D3 v7 and uses a sequential color scheme for visual distinction.
AI-generated descriptionAn example showing the capabilities of VizHub:
- Loads D3 via UNPKG.
- Demonstrates use of
importfrom"d3". - Demonstrates use of
importfrom local ES6 modules.