{"uid":"cap_0olIZ9FMxsMCNL9Q9awvW","slug":"citiview-chart-generator-6e2cb708","name":"Citiview Chart Generator","description":"Chart images: bar, line, pie or scatter charts as PNG or SVG from your numbers, with title, labels, several series and legend. Ready to drop into a report or message. Also callable as GET with the same fields as query parameters.","url":"https://agents.citiviewgroup.com/v1/chart?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","properties":{"type":{"type":"string","description":"bar | line | pie | scatter"},"title":{"type":"string"},"width":{"type":"integer"},"format":{"type":"string","description":"png | svg"},"height":{"type":"integer"},"labels":{"type":"string","description":"| separated"},"series":{"type":"string","description":"JSON [{name, values}]"},"values":{"type":"string","description":"| separated numbers"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.004","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.004/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_9w2WUDS7JSwgPzulxtUhG","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.004","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Generates bar, line, pie, or scatter chart images (PNG or SVG) from numeric data with title, labels, multi-series support, and legend","exampleAgentPrompt":"Make me a bar chart titled 'Q1 Sales by Region' with labels East|West|North|South and values 42000|38000|51000|29000, output it as a PNG at 800x500 pixels.","exampleUseCases":[{"title":"Monthly revenue trend line chart","prompt":"Create a line chart titled 'Monthly Revenue 2024' with labels Jan|Feb|Mar|Apr|May|Jun and values 12000|15000|13500|17000|19000|22000, 700 pixels wide and 400 tall, as a PNG."},{"title":"Survey results pie chart","prompt":"Generate a pie chart called 'Customer Satisfaction Survey' with labels Excellent|Good|Fair|Poor and values 45|30|15|10 as an SVG so I can drop it into a slide deck."},{"title":"Multi-series sales comparison bar chart","prompt":"Make a bar chart titled 'Sales vs Target by Quarter' with labels Q1|Q2|Q3|Q4, two series — Sales with values 80000|92000|87000|105000 and Target with values 85000|90000|95000|100000 — as a PNG, 900 pixels wide and 500 tall."}],"resultDescription":"A PNG or SVG image file of the requested chart, ready to embed in reports, emails, or messages, rendered with the specified title, axis labels, data series, and legend.","failureModes":["Missing required 'type' or 'method' parameter returns an error","Malformed 'series' JSON causes a parse error","Invalid chart type string (not bar/line/pie/scatter) returns an error","Mismatched label count and value count may produce garbled charts","Unsupported format string (not png/svg) returns an error","Payment failure via x402 protocol blocks the request"],"whenToPreferThis":"Choose this endpoint when you need a quick, embeddable chart image (PNG or SVG) generated directly from raw numbers without setting up a full charting library. It supports multiple series and legends, making it suitable for report generation, automated messaging, and agent-driven dashboards where visual output is required on the fly.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-14T06:37:18.336Z","isFirstParty":false,"canonicalSlug":"citiview-chart-generator-6e2cb708"}