create_datashader_plot
Rasterizes large datasets (10K+ points) into pixel-density heatmaps, enabling visualization of millions of points where scatter plots fail.
Instructions
Create a datashader-powered plot for large datasets (10K+ points).
Rasterizes data into a pixel-density heatmap — works with millions of points where scatter plots would be unusable. Uses hvPlot's datashade integration.
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": {
"dataset_name": "<dataset_name>",
"x": "<x>",
"y": "<y>"
},
"name": "create_datashader_plot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | Column for x-axis | |
| y | Yes | Column for y-axis | |
| cmap | No | Colormap — 'fire', 'inferno', 'viridis', 'blues', 'hot' | fire |
| title | No | Plot title | |
| width | No | Plot width in pixels | |
| height | No | Plot height in pixels | |
| agg_type | No | Aggregation type — 'count' (default), 'mean', 'sum', 'min', 'max' | count |
| dataset_name | Yes | Name of the loaded dataset |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |