Loading...
Loading...
Create interactive chart visualizations (bar, line, pie) from data.
npx skill4agent add aws-samples/sample-strands-agent-with-agentcore visualization| Parameter | Type | Required | Description |
|---|---|---|---|
| str | Yes | |
| list[dict] | Yes | Array of data objects — see formats below |
| str | No | Chart title |
| str | No | X-axis label (bar/line only) |
| str | No | Y-axis label (bar/line only) |
"x""y"[{"x": "Jan", "y": 100}, {"x": "Feb", "y": 150}, {"x": "Mar", "y": 120}]"segment""value"[{"segment": "Category A", "value": 30}, {"segment": "Category B", "value": 70}]"color": "hsl(210, 100%, 50%)"{
"chart_type": "bar",
"data": [{"x": "Q1", "y": 250}, {"x": "Q2", "y": 310}, {"x": "Q3", "y": 280}],
"title": "Quarterly Revenue",
"x_label": "Quarter",
"y_label": "Revenue ($K)"
}{
"chart_type": "pie",
"data": [{"segment": "Mobile", "value": 60}, {"segment": "Desktop", "value": 35}, {"segment": "Tablet", "value": 5}],
"title": "Traffic by Device"
}{"labels": [...], "values": [...]}"x""y""label""name"