🌍 Public
Viewing a saved revision (read-only)
6b98daf0e8e842e7bb070aa50a74c9cf
Activity-7_Aparna
A pie chart visualizes the percentage of sales contributed by each of five regions. The chart displays slices with percentage labels and a legend with color-coded region names and values. It uses D3 v5’s `pie`, `arc`, and `scaleOrdinal` to generate the chart from CSV data, fetched from a GitHub gist. The SVG rendering places the pie at the center, with the legend positioned to the right.
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.