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.
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 |