# chart\_donut

Source: https://zotonic.com/docs/2696/chart_donut

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

Language: en



Render a donut 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="donut"`.

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

License: 

Attribution: 

Related resources: https://zotonic.com/api/agent/related/2696?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/2696?language=en>)
