Task9_Vaishalikonda
✓ Published0🌍 Public
This pie chart visualizes electronic sales data, displaying the proportion of units sold for each product category. It is built with D3 v5, using `d3.pie` to compute the arc segments and `d3.arc` to render the SVG paths. Each slice is shaded with a categorical color from `d3.scaleOrdinal` and `d3.schemeCategory10`, with percentage labels placed at the centroids. A legend, also generated in SVG, maps each product name to its corresponding color. The data is loaded from a remote CSV file hosted on GitHub.
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.
MIT Licensed