Skip to main content
100%

Pie_chart_ice_7

✓ Published0🌍 Public
Pprashanth yamala
Last edited Jul 2, 2022
Created on Jul 2, 2022
Forked from Pie ICE - 7

This pie chart displays the top 10 company valuations in billions from a CSV dataset. The chart uses a D3.js v5 SVG rendering, with each slice colored via a custom `sectionColors` array and labeled with its value using `d3.pie` and `d3.arc`. A legend to the right maps company names to their respective colors and values. The data is fetched asynchronously from a GitHub gist, and the visualization is generated using `d3.scaleOrdinal` for color assignment and `d3.arc().centroid()` for text placement, all within an HTML page styled with CSS.

AI-generated description
MIT Licensed

Similar vizzes