BrandstaqBrandstaq Docs
Content

Generate Chart

Generate a complete chart (PNG) — line, bar, pie, scatter, etc.

Skill name: generate_chart 5 BST per call

What it does

Generates a single chart or graph as a PNG image. Uses matplotlib for line, bar, pie, scatter, and other chart types — colored with your brand palette so it drops cleanly into reports, slides, or social posts.

When to use it

Brandstaq automatically picks Generate Chart when you say things like:

  • Plot our monthly active users for the last year as a line chart
  • Make a pie chart of social traffic by platform
  • Generate a bar chart comparing campaign CTRs

Parameters

NameTypeRequiredDescription
formatstringNoOutput format (always png)
contentstringYesData and chart description — what to visualize, chart type (line, bar, pie, scatter), labels, values
chart_typestringNoChart type: line, bar, pie, scatter, area, histogram

When the agent reaches for it

When you ask for a single chart or graph — line, bar, pie — the agent picks this rather than building a full report. Output is a PNG colored in your brand palette so it drops into slides cleanly.

Related skills