Analyze data
analyze_dataDatawrapper: profile a dataset (column types, number format, ranges) and recommend 1–4 suitable chart types with the column mapping and a reason. Runs locally — no API calls, no quota. Use before create_chart when unsure which chart fits.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"data": "<data>"
},
"name": "analyze_data"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | Exactly one data source. Use csv/rows/columns for inline data (best below ~10,000 rows; line charts below ~1,000 points). | |
| goal | No | What the chart should show, e.g. 'change over time', 'compare countries'. |