Add charts and structured content
How to get the best chart, table, and structured visual results from the Gamma API.
Quick reference
How to prompt for charts
{
"inputText": "Revenue data for 2024",
"additionalInstructions": "Include a chart"
}{
"inputText": "Revenue by quarter:\nQ1: $1.2M\nQ2: $1.5M\nQ3: $1.8M\nQ4: $2.1M",
"additionalInstructions": "Display this data as a bar chart with quarters on the x-axis and revenue on the y-axis"
}Tips for better results
Using templates for more consistent output
Tables and infographics
Related
Last updated
Was this helpful?