🌍 Public
Viewing a saved revision (read-only)
e8afe7da80444c6ab0b7f228a8c02c7c
ICE-7 Fork of Pie Chart
This visualization shows the profit percentages of various companies using a pie chart, with a legend to the right mapping colors to company names and exact values. The chart is built with D3 version 5, rendering as SVG elements on an HTML canvas. It loads company and profit data from a remote CSV file using `d3.csv`, then applies the `d3.pie` layout and `d3.arc` path generator to create the slices. Color encoding is handled by `d3.scaleOrdinal` with a predefined palette. Profit values are formatted using `d3.format` for display in the legend.
AI-generated description