Skip to main content
100%

Task9_Vaishalikonda

✓ Published0🌍 Public
Vvaishalireddy55555@gmail.com
Last edited Apr 29, 2024
Created on Apr 28, 2024
Forked from Hello VizHub

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 description

An example showing the capabilities of VizHub:

  • Loads D3 via UNPKG.
  • Demonstrates use of import from "d3".
  • Demonstrates use of import from local ES6 modules.
MIT Licensed

Similar vizzes