---json { "canonical": ":pie-chart", "description": "This article shows you how to create a Pie Chart.", "name": "Pie Chart", "page_id": "780l5gcoxomy3demu7zcw", "title": "How to create a Pie Chart with ComboStrap" } --- ====== ComboStrap Diagram - PieChart ====== ===== About ===== The ''piechart'' component is a [[diagram|diagram component]] that permits to create a ''Pie Chart''. ===== Example ===== * The markup ```dw pie title Pets adopted by volunteers "Dogs" : 386 "Cats" : 85 "Rats" : 15 ``` * The output: ===== Syntax ===== The syntax is based on the [[https://mermaid-js.github.io/mermaid/#/pie|Pie Chart Mermaid Definition]] ... Mermaid Pie Chart definition ... Mermaid offers a [[https://mermaid-js.github.io/mermaid-live-editor|live editor]] that you can use to validate and develop your diagrams. This component is based on the [[docs:utility:mermaid|mermaid component]].