80trust / 100
Svg Bar Chart Renderer
by svg-bar-chart-renderer.jannioura.workers.dev in AI models & inference
x402 APIPassing, checked 3 h ago
Deterministic, paid-per-render SVG bar chart generator for LLM agents. Accepts labeled scalar data and layout options, performs exact geometry math (min/max normalization, nice-interval y-axis ticks, label spacing, bar-width distribution), and returns schema-valid, escape-correct SVG with identical input always yielding byte-identical output.
POST https://svg-bar-chart-renderer.jannioura.workers.dev/
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 173 ms typical, 204 ms slowest 5%
- Last check
- 3 h ago
- Next check
- any minute now
How to call it
# See the payment challenge (nothing is charged)
curl -i -X POST "https://svg-bar-chart-renderer.jannioura.workers.dev/" \
-H "content-type: application/json" \
-d '{"data":[{"label":"Q1","value":12},{"label":"Q2","value":19},{"label":"Q3","value":7}]}'import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";
const client = new x402Client().register(
"eip155:8453",
new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);
// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fsvg-bar-chart-renderer.jannioura.workers.dev%2F
const res = await pay("https://svg-bar-chart-renderer.jannioura.workers.dev/", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"data":[{"label":"Q1","value":12},{"label":"Q2","value":19},{"label":"Q3","value":7}]}),
});
console.log(await res.json());Example input
{
"data": [
{
"label": "Q1",
"value": 12
},
{
"label": "Q2",
"value": 19
},
{
"label": "Q3",
"value": 7
}
]
}Example output
{
"byteLength": 1877,
"pointCount": 3,
"svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"640\" height=\"400\" viewBox=\"0 0 640 400\" role=\"img\" aria-label=\"Bar chart\"><rect x=\"0\" y=\"0\" width=\"640\" height=\"4...",
"yAxis": {
"max": 20,
"min": 0,
"ticks": [
0,
5,
10,
15,
20
]
}
}Security scan
- No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.
Recent checks
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 3 h ago | Passed | 402 | 226 ms | $0.015 |
| 7 h ago | Passed | 402 | 200 ms | $0.015 |
| 11 h ago | Passed | 402 | 173 ms | $0.015 |
| 15 h ago | Passed | 402 | 204 ms | $0.015 |
| 18 h ago | Passed | 402 | 156 ms | $0.015 |
| 22 h ago | Passed | 402 | 146 ms | $0.015 |
| 26 h ago | Passed | 402 | 135 ms | $0.015 |
| 28 h ago | Passed | 402 | 149 ms | $0.015 |
| 34 h ago | Passed | 402 | 175 ms | $0.015 |