Skip to main content
100%

Pie Chart

✓ Published0🌍 Public
Bbindhureddy98
Last edited Mar 26, 2022
Created on Mar 26, 2022
Forked from HTML Starter

This pie chart visualizes the YTD sales distribution across brands in the iris dataset, with each slice colored and accompanied by a legend showing brand names and sales values in thousands. The visualization uses D3 v5 within a React framework, loading data from a CSV file via `d3.csv`. The chart is rendered as SVG, employing `d3.pie` to compute arc angles, `d3.arc` for path generation, and `d3.scaleOrdinal` for categorical colors, with formatted values using `d3.format`.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes