Skip to main content
100%

Pie Chart

✓ Published0🌍 Public
Yyaswanthsen
Last edited Mar 10, 2023
Created on Mar 10, 2023
Forked from Fork of Pie Chart

This pie chart displays the year-to-date sales distribution across multiple HBO Max brands, with each slice’s size and color encoding the proportional value. The chart also includes a legend showing each brand’s name, its percentage of the total, and the raw sales figure in thousands. The visualization is built using D3.js v5, which loads data from a CSV file hosted on GitHub, computes pie arcs with `d3.pie()`, and renders the SVG paths using `d3.arc()`. Colors are assigned via `d3.scaleOrdinal()`, and the legend labels are formatted with `d3.format()`.

AI-generated description
MIT Licensed

Similar vizzes