# chart\_pie

Source: https://zotonic.com/docs/1385/chart_pie

URI: https://zotonic.com/id/1385

Language: en



Render a pie chart as inline SVG.

This is a convenience wrapper around <a href="/id/doc_template_scomp_scomp_chart" class="doc-reference doc-reference-scomp"><code>scomp#chart</code></a>. It accepts the same arguments and always uses `type="pie"`.

```django
{% chart_pie data=[["Yes", 42], ["No", 8]] %}
```

License: 

Attribution: 

Related resources: https://zotonic.com/api/agent/related/1385?language=en


## API access

- [API help](<https://zotonic.com/api-help>)
- [OpenAPI specification](<https://zotonic.com/openapi.json>)
- [This resource as JSON](<https://zotonic.com/api/agent/resource/1385?language=en>)
