# x402 DataViz Chart Renderer (v2)

> x402 DataViz Chart Renderer (v2) 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 arrays into SVG format via a paid API endpoint

## Facts

- Endpoint: GET https://x402-dataviz-poc.theliminalguy.workers.dev/chart-v2?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-v2-fadd4677
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_b1oHAbQEHQqZgOtFb81Rv

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-v2-fadd4677
```

Example prompt: Can you render a bar chart titled 'Monthly Revenue' from this data array — [{'month':'Jan','value':1200},{'month':'Feb','value':1500},{'month':'Mar','value':900}] — and give me the SVG output?

## When to prefer this

Choose this endpoint when you need a lightweight, server-side SVG chart rendered from raw data without setting up a frontend charting library. It is ideal for AI agents that need to embed visualizations in reports, emails, or documents programmatically. Prefer it over client-side solutions when the output must be a portable vector SVG rather than a raster image or interactive widget.

## Known failure modes

- Empty or malformed data array results in render error
- Invalid chart type value (outside bar/line/area enum) returns validation error
- Missing required data field causes bad request
- Malformed JSON body returns parse error
- Payment not provided or insufficient USDC causes 402 rejection

## How this service works

Render a bar/line/area chart to SVG (v2 discovery probe)

## Output

Returns an SVG document containing the rendered chart with axes, labels, and the specified chart type (bar, line, or area). The SVG can be embedded directly in HTML, exported to PDF, or used in reports and presentations.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "data": {
   "type": "array"
  },
  "type": {
   "enum": [
    "bar",
    "line",
    "area"
   ],
   "type": "string"
  },
  "title": {
   "type": "string"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-dataviz-chart-renderer-v2-fadd4677/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)
