The demo shown below was taken from the official Mermaid documentation. |
pie title Key elements in Product X "Calcium" : 42.96 "Potassium" : 50.05 "Magnesium" : 10.01 "Iron" : 5 |
Textual representation
pie title Key elements in Product X "Calcium" : 42.96 "Potassium" : 50.05 "Magnesium" : 10.01 "Iron" : 5 |
The code above is rendered by "Prism Syntax Highlighter for Confluence" which supports highlighting Mermaid syntax.
👉 Check out the official Mermaid documentation here https://mermaid.js.org/syntax/pie.html.