> For the complete documentation index, see [llms.txt](https://docs.avonnicomponents.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.avonnicomponents.com/dynamic-components/tutorials/components/chart.md).

# Chart

Build Avonni charts for sales, support and account insights: won revenue, pipeline, reactive filters, case priorities, regional coverage and industries.

Build charts that answer a specific sales or account-management question. Each guide connects Salesforce records to Avonni Chart, explains the mappings and checks the result against the source data.

{% hint style="info" %}
Start with [Compare Total and Average Deal Size](https://docs.avonnicomponents.com/dynamic-components/tutorials/components/chart/compare-total-and-average-deal-size.md) to learn how grouping and measures work together. Keep the [Chart reference](https://docs.avonnicomponents.com/dynamic-components/components/chart.md) open for the complete property list.
{% endhint %}

## Pipeline and Revenue

Compare deal values by stage, or follow won revenue across distinct calendar months.

<table data-view="cards"><thead><tr><th></th><th></th><th data-hidden data-card-cover data-type="files"></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><strong>Compare Total and Average Deal Size</strong></td><td>Build a Combo chart that compares open pipeline totals with average deal size by stage, then verify its measures against the source records.</td><td><a href="https://2532358799-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FODPvvv7Cx9Z9RECLn3oV%2Fuploads%2FjMfQIwgcOtv0fRtOf022%2Fcover-compare-total-and-average-deal-size.png?alt=media">cover-compare-total-and-average-deal-size.png</a></td><td><a href="https://docs.avonnicomponents.com/dynamic-components/tutorials/components/chart/compare-total-and-average-deal-size.md">Compare Total and Average Deal Size</a></td></tr><tr><td><strong>Track Won Revenue by Month</strong></td><td>Build a Line chart of won Opportunity revenue by year and month, keeping January in different years separate and checking each monthly total.</td><td><a href="https://2532358799-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FODPvvv7Cx9Z9RECLn3oV%2Fuploads%2Fub23f7jV0DjUS4fulgSO%2Fcover-track-won-revenue-by-month.png?alt=media">cover-track-won-revenue-by-month.png</a></td><td><a href="https://docs.avonnicomponents.com/dynamic-components/tutorials/components/chart/track-won-revenue-by-month.md">Track Won Revenue by Month</a></td></tr><tr><td><strong>Compare Won Revenue by Lead Source</strong></td><td>Build a Donut chart of won revenue by lead source, then compare its revenue shares with deal counts to see which sources bring larger wins.</td><td><a href="https://2532358799-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FODPvvv7Cx9Z9RECLn3oV%2Fuploads%2FoJzpD5AUYIrSFHglEWDL%2Fcover-compare-won-revenue-by-lead-source.png?alt=media">cover-compare-won-revenue-by-lead-source.png</a></td><td><a href="https://docs.avonnicomponents.com/dynamic-components/tutorials/components/chart/compare-won-revenue-by-lead-source.md">Compare Won Revenue by Lead Source</a></td></tr><tr><td><strong>Measure Won Revenue Against a Target</strong></td><td>Build a Gauge chart that compares won Opportunity revenue with a fixed monetary target, then verify its value, range and progress percentage.</td><td><a href="https://2532358799-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FODPvvv7Cx9Z9RECLn3oV%2Fuploads%2FsBKGI91nI2lHaFF4YHU8%2Fcover-measure-won-revenue-against-a-target.png?alt=media">cover-measure-won-revenue-against-a-target.png</a></td><td><a href="https://docs.avonnicomponents.com/dynamic-components/tutorials/components/chart/measure-won-revenue-against-a-target.md">Measure Won Revenue Against a Target</a></td></tr></tbody></table>

## Account Coverage and Industries

Use account counts to examine where customers are and which industries they belong to.

<table data-view="cards"><thead><tr><th></th><th></th><th data-hidden data-card-cover data-type="files"></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><strong>Map Account Coverage by Province</strong></td><td>Build a Canada map from Account records, count accounts by province, and check full province names so missing matches do not hide coverage.</td><td><a href="https://2532358799-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FODPvvv7Cx9Z9RECLn3oV%2Fuploads%2Fmr1XGCqewAsLkejM4XNc%2Fcover-map-account-coverage-by-province.png?alt=media">cover-map-account-coverage-by-province.png</a></td><td><a href="https://docs.avonnicomponents.com/dynamic-components/tutorials/components/chart/map-account-coverage-by-province.md">Map Account Coverage by Province</a></td></tr><tr><td><strong>Understand Account Industries</strong></td><td>Build a Word Cloud from Account industries, size each label by record count, and check missing labels before interpreting your customer mix.</td><td><a href="https://2532358799-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FODPvvv7Cx9Z9RECLn3oV%2Fuploads%2FZx3GI2ddjYHdvGTu4gem%2Fcover-understand-account-industries.png?alt=media">cover-understand-account-industries.png</a></td><td><a href="https://docs.avonnicomponents.com/dynamic-components/tutorials/components/chart/understand-account-industries.md">Understand Account Industries</a></td></tr></tbody></table>

## Support Backlog

Compare open Cases by status, then normalize the stacks to compare priority mix.

<table data-view="cards"><thead><tr><th></th><th></th><th data-hidden data-card-cover data-type="files"></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><strong>Compare Support Backlog by Status and Priority</strong></td><td>Build a Stacked Column chart of open Cases by status and priority, then normalize each stack to compare priority mix as well as backlog size.</td><td><a href="https://2532358799-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FODPvvv7Cx9Z9RECLn3oV%2Fuploads%2FroIPdOYYg8OrnStphsVR%2Fcover-compare-support-backlog-by-status-and-priority.png?alt=media">cover-compare-support-backlog-by-status-and-priority.png</a></td><td><a href="https://docs.avonnicomponents.com/dynamic-components/tutorials/components/chart/compare-support-backlog-by-status-and-priority.md">Compare Support Backlog by Status and Priority</a></td></tr></tbody></table>

## Interactive Charts

Select an Account and check its open pipeline by stage, including an account with no open deals.

<table data-view="cards"><thead><tr><th></th><th></th><th data-hidden data-card-cover data-type="files"></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><strong>Select an Account to Filter Its Pipeline Chart</strong></td><td>Connect an Account Combobox to an open-pipeline Bar chart, then test automatic query updates, account totals and an account with no open deals.</td><td><a href="https://2532358799-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FODPvvv7Cx9Z9RECLn3oV%2Fuploads%2FaZQ1tEurIJkp2zDP06EX%2Fcover-select-an-account-to-filter-its-pipeline-chart.png?alt=media">cover-select-an-account-to-filter-its-pipeline-chart.png</a></td><td><a href="https://docs.avonnicomponents.com/dynamic-components/tutorials/components/chart/select-an-account-to-filter-its-pipeline-chart.md">Select an Account to Filter Its Pipeline Chart</a></td></tr></tbody></table>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.avonnicomponents.com/dynamic-components/tutorials/components/chart.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
