Skip to main content
100%

Pie Chart

✓ Published0🌍 Public
Mmanvithareddykarra
Last edited Mar 27, 2022
Created on Mar 27, 2022
Forked from HTML Starter

This example displays a pie chart of sales figures for different companies, with each segment labeled by its proportional value and paired with a legend showing company names and sales totals. The chart is rendered as SVG using D3 v5, with data fetched from a CSV URL. It uses D3’s `pie` and `arc` generators to create the segments, a `scaleOrdinal` to map sales values to a set of predefined colors, and custom text elements to label each slice.

AI-generated description
MIT Licensed

Similar vizzes