Skip to main content
100%

ICE7 - Pie Chart

✓ Published0🌍 Public
Kkuraakhila9@gmail.com
Last edited Mar 25, 2024
Created on Mar 25, 2024
Forked from ICE-7 Pie Chart

This pie chart visualizes regional sales distribution, with each slice representing a region's proportion of total sales and a legend showing region names with percentage values. The code loads sales data from a GitHub-hosted CSV using d3.csv, then renders the chart with d3.pie and d3.arc functions, applying colors via scaleOrdinal. SVG elements are appended to the page using d3.select, with legend text formatted via d3.format to display percentages. The visualization uses d3.v5 and outputs the result as scalable vector graphics.

AI-generated description
MIT Licensed

Similar vizzes