AI Bubble Chart API
Describe the bubble chart you need in plain English and ChartQuery's AI generates it for you. No JSON configuration, no data formatting, just send a prompt and get a rendered image back in seconds.
Live Preview
This image is generated in real time by the ChartQuery API, no static assets.
Quick Start
A single HTTP request is all you need. No SDK, no dependencies.
curl -X POST https://api.chartquery.com/v1/chart/ai \
-H "Content-Type: application/json" \
-H "x-api-key: YOUR_API_KEY" \
-d '{
"prompt": "A bubble chart showing monthly revenue for the first half of 2026, clean style with indigo colors",
"format": "png",
"width": 1200,
"height": 600
}' \
--output chart.pngHow It Works
Send a Request
POST a JSON body or use GET with query parameters. No SDK or library needed.
Get Your Image
ChartQuery renders your chart, diagram, barcode, QR code, or label and returns it as PNG or SVG.
Use It Anywhere
Embed in emails, PDFs, dashboards, documents, or print directly. Works everywhere images work.
Features
Any Chart Type
Bar, line, area, pie, doughnut, radar, polar area, bubble, scatter, and mixed, all from one endpoint.
Pixel-Perfect Output
Get crisp PNG for emails and PDFs, or infinitely scalable SVG for web and print. Up to 4K resolution.
Full Customization
Control colors, fonts, legends, axes, tooltips, and every visual detail through a simple JSON config.
Share & Embed
Save charts with shareable URLs. Embed as images or interactive iframes, no authentication needed for viewers.
Use Cases
- Automated email and PDF reports with embedded charts
- Real-time dashboards and data visualization
- AI chatbot responses with visual data
- Social media and marketing graphics
Frequently Asked Questions
What is the ChartQuery Bubble Chart API?
The ChartQuery Bubble Chart API lets you generate bubble chart images via a simple HTTP request. Send a JSON configuration and receive a rendered PNG or SVG image in the response. No frontend library, no browser, no dependencies required.
How do I generate a bubble chart with an API?
Send a POST request to the ChartQuery chart endpoint with your data as JSON. The API returns a rendered image directly. You can also use GET requests with URL parameters for simple cases. No API key is required for basic usage, anonymous access is available with 60 requests per hour.
What output formats does the Bubble Chart API support?
PNG (default) and SVG. PNG is ideal for emails, PDFs, and messaging. SVG is lossless and infinitely scalable, perfect for web and print.
Is the Bubble Chart API free to use?
Yes. The ChartQuery Bubble Chart API works without an API key. Anonymous access is rate-limited to 60 requests per hour and adds a small watermark. Authenticated users on paid plans get higher limits, no watermark, and longer chart persistence (6 months vs 3 days for shared URLs).
How does AI bubble chart generation work?
Describe what you want in plain English, mention the chart type, data topic, colors, and style. ChartQuery's AI interprets your prompt and generates a fully configured bubble chart image. You can also pass raw data and let the AI handle the visual layout. An API key is required for AI generation.
Can I share and embed charts generated by the API?
Yes. Add "share": true to any request to get permanent URLs. The render_url is a direct image URL you can embed in emails, documents, or <img> tags. The view_url is an interactive HTML page you can embed as an iframe. No authentication needed for viewers.
Related APIs
Start generating charts today
No API key required to get started. Generate charts, diagrams, and more with a single HTTP request.
Get StartedView Pricing