plot_heatmap
Create a color-coded heatmap to visualize aggregated values of a metric across two categorical dimensions. Useful for spotting patterns in pivot-table-style data.
Instructions
Heatmap of aggregated values in a pivot table format. Shows a color-coded matrix of one metric across two categorical dimensions. Example: plot_heatmap(index_col="OriginCode", columns_col="FlownMonth", values_col="Revenue", agg_func="sum")
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| df_name | No | ||
| agg_func | No | mean | |
| index_col | Yes | ||
| save_path | No | ||
| values_col | Yes | ||
| columns_col | Yes |