Skip to main content
100%

Fork of Fork of HTML Starter

✓ Published0🌍 Public
Eeravellisaimeghana
Last edited Mar 29, 2022
Created on Mar 29, 2022

This example shows a pie chart of YTD sales by brand, with a legend displaying each brand's share as a percentage and a value in thousands. The visualization is built with D3 v3, using `d3.pie` to generate segment data, `d3.arc` for path construction, and `d3.scaleOrdinal` for categorical colors. Data is loaded asynchronously from an external source via a helper function `getData`, and the chart renders with a fixed SVG viewport.

AI-generated description

A bare minimum [HTML](https://en.wikipedia.org/wiki/HTMge demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes