Skip to main content
100%

ICE-7 Fork of Pie Chart

✓ Published0🌍 Public
Kkarumanchimanasa
Last edited Mar 13, 2023
Created on Mar 13, 2023
Forked from ICE - 7(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
MIT Licensed

Similar vizzes