# x402 DataViz Chart Renderer

> x402 DataViz Chart Renderer is a paid API for AI agents from x402-dataviz-poc.theliminalguy.workers.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-01).

Renders bar, line, or area charts from data to SVG format

## Facts

- Endpoint: GET https://x402-dataviz-poc.theliminalguy.workers.dev/chart?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-dataviz-chart-renderer-c40bc23f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_dp3amCKH3gtc_FvfpTi5x

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability x402-dataviz-chart-renderer-c40bc23f
```

Example prompt: Render a bar chart as SVG showing monthly sales — January: 1200, February: 950, March: 1400, April: 1100 — with labeled axes and a title 'Monthly Sales Q1.'

## When to prefer this

Choose this endpoint when you need a lightweight, server-side SVG chart rendered from raw data without setting up a charting library client-side. Ideal for agents generating reports, dashboards, or embedded visuals where SVG output is preferred. Good for bar, line, or area chart types when a low-cost ($0.01 USDC) per-call pay-as-you-go model is acceptable.

## Known failure modes

- Missing or malformed data payload returns an error
- Unsupported chart type requested returns a validation error
- Payment not included or insufficient (x402 payment required at $0.01 USDC)
- Empty dataset results in a blank or error response
- Malformed JSON body causes a 400-level error

## How this service works

Render a bar/line/area chart to SVG

## Output

An SVG document containing the rendered chart — a scalable vector graphic that can be embedded in web pages, reports, or documents, representing the input data as a bar, line, or area chart with axes and labels.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "data": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "x",
     "values"
    ],
    "properties": {
     "x": {
      "type": "string"
     },
     "values": {
      "type": "object",
      "additionalProperties": {
       "type": "number"
      }
     }
    }
   }
  },
  "type": {
   "enum": [
    "bar",
    "line",
    "area"
   ],
   "type": "string"
  },
  "theme": {
   "enum": [
    "light",
    "dark"
   ],
   "type": "string"
  },
  "title": {
   "type": "string"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-dataviz-chart-renderer-c40bc23f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-dataviz-poc.theliminalguy.workers.dev](https://www.zero.xyz/host/x402-dataviz-poc.theliminalguy.workers.dev/llms.txt)
