← All tool references

Productivity · not_available

Scatter Plot Maker

Scatter Plot Maker with transparent inputs and reviewable results.

Open public tool

Overview

Category
Productivity
API mode
not_available
Processing
client-side
Privacy
no-data-stored

Public descriptor

The descriptor is available without an API key and supplies this tool’s metadata, schemas, modes, and examples.

GET /api/v1/tools/scatter-plot-maker

View this descriptor as JSON

Execute availability

This tool is documented as a browser capability. Its execute route does not produce a server-side result; when execution is enabled, it responds with browser_interaction_required and points callers to the public tool page.

POST /api/v1/tools/scatter-plot-maker/execute

Authentication is not issued during the preview. A bearer API key is planned for execution after launch.

Input schema

object object; additional properties are not accepted.

data · string · required
Enter x,y rows.
title · string · required
Enter chart title.
x_label · string · required
Enter x-axis label.
y_label · string · required
Enter y-axis label.
{
    "type": "object",
    "properties": {
        "data": {
            "type": "string",
            "description": "Enter x,y rows."
        },
        "title": {
            "type": "string",
            "description": "Enter chart title."
        },
        "x_label": {
            "type": "string",
            "description": "Enter x-axis label."
        },
        "y_label": {
            "type": "string",
            "description": "Enter y-axis label."
        }
    },
    "required": [
        "data",
        "title",
        "x_label",
        "y_label"
    ],
    "additionalProperties": false
}

Output schema

On a successful execution, schema values appear in data.result.values.

points · array
Chart points produced by the tool.
correlation · number
Correlation produced by the tool.
trend_line · string
Linear trend produced by the tool.
summary · string
Chart summary produced by the tool.
{
    "type": "object",
    "properties": {
        "points": {
            "type": "array",
            "description": "Chart points produced by the tool."
        },
        "correlation": {
            "type": "number",
            "description": "Correlation produced by the tool."
        },
        "trend_line": {
            "type": "string",
            "description": "Linear trend produced by the tool."
        },
        "summary": {
            "type": "string",
            "description": "Chart summary produced by the tool."
        }
    },
    "additionalProperties": false
}

Scatter Plot Maker worked example

The request body follows the published input schema. The response below shows the success-envelope shape returned after execution is available.

curl -X POST "https://utilitypages.org/api/v1/tools/scatter-plot-maker/execute" \
  -H "Content-Type: application/json" \
  -d '{
    "data": "1,2\n2,2.8\n3,4.1\n4,4.7\n5,6.2",
    "title": "Relationship",
    "x_label": "X",
    "y_label": "Y"
}'
{
    "ok": true,
    "data": {
        "slug": "scatter-plot-maker",
        "result": {
            "values": {
                "points": [
                    {
                        "x": 1,
                        "y": 2
                    },
                    {
                        "x": 2,
                        "y": 2.79999999999999982236431605997495353221893310546875
                    },
                    {
                        "x": 3,
                        "y": 4.0999999999999996447286321199499070644378662109375
                    },
                    {
                        "x": 4,
                        "y": 4.70000000000000017763568394002504646778106689453125
                    },
                    {
                        "x": 5,
                        "y": 6.20000000000000017763568394002504646778106689453125
                    }
                ],
                "correlation": 0.992399999999999948840923025272786617279052734375,
                "trend_line": "y = 1.03x + 0.87",
                "summary": "5 points; correlation 0.992."
            },
            "display": {
                "display": "[{\"x\":1,\"y\":2},{\"x\":2,\"y\":2.79999999999999982236431605997495353221893310546875},{\"x\":3,\"y\":4.0999999999999996447286321199499070644378662109375},{\"x\":4,\"y\":4.70000000000000017763568394002504646778106689453125},{\"x\":5,\"y\":6.20000000000000017763568394002504646778106689453125}]"
            },
            "warnings": [],
            "assumptions": [],
            "steps": []
        }
    },
    "meta": [],
    "request_id": "req_example_123"
}

Errors

api_not_launched · 503
Returned by the current launch gate for every execute request.
invalid_json · 400
Returned when an enabled execute request does not contain valid JSON.
validation_failed · 422
Returned when a request does not satisfy the input schema.
browser_interaction_required · 422
Returned for browser capability tools instead of inventing a server-side result.
tool_not_found · 404
Returned when a requested descriptor slug does not exist.
execution_failed · 503
Returned when an enabled server-side execution cannot complete.