Skip to main content
100%

ICE-7 BALAJI PIE CHART

✓ Published0🌍 Public
Ppeddubalaji@gmail.com
Last edited Mar 27, 2024
Created on Mar 27, 2024

This pie chart visualizes company metrics by aggregating the total values of six distinct fields—Revenue, Profit, Customers, Expenses, EmployeeCount, and Productivity Index—from a CSV file fetched from a GitHub gist. The data is loaded using `d3.csv`, and the sums are calculated with `d3.sum`. The chart is rendered as an SVG, using `d3.pie` to generate the arc data and `d3.arc` to draw each sector, which are then colored with `d3.scaleOrdinal` and the `d3.schemeCategory10` palette. Text labels are positioned at each arc’s centroid.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes