Visualisation graphique
visualizeCreate interactive Plotly visualizations of French election data. Use a full Plotly spec or assisted mode with chart type and columns.
Instructions
Crée une visualisation Plotly (retourne le spec JSON).
Deux modes :
Spec libre : fournir 'spec' (dict Plotly complet {data, layout})
Assisté : fournir chart_type + data + x + y
Types supportés : bar, line, scatter, histogram, box, violin, heatmap, treemap.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "visualize"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | ||
| y | No | ||
| data | No | ||
| spec | No | ||
| color | No | ||
| title | No | ||
| data_file | No | ||
| chart_type | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |