Pie chart using SVG
✓ Published0🌍 Public
This example shows a simple pie chart with two segments: a large blue circle and a smaller, lighter blue wedge overlay. It renders entirely as static SVG markup, using a `<circle>` element for the base and a `<path>` arc for the wedge. The path draws with an `M` command, an `A` arc command, and a `rotate(-90)` transform to position the wedge. No JavaScript libraries or data binding are involved; the chart is hard-coded in the HTML.
AI-generated descriptionPie chart using SVG.
I looked at this blog post on the pie chart https://www.vicompany.nl/magazine/how-to-code-a-pie-a-designers-adventure-in-maths-and-svg
MIT Licensed