plot_distribution
Visualizes the distribution of data columns with histograms for numeric values and value counts for categorical ones, returning both structured JSON and a rendered PNG image for immediate insight.
Instructions
The right tool to answer "show me the distribution of X" — single column gets one histogram; multiple columns get a faceted grid.
Numeric columns are server-side binned (small spec, fast); categorical
columns get top-50 value counts. Returns the structured JSON + the
rendered PNG as inline MCP ImageContent (chat UIs that render images
natively will display it directly). Single-image responses render
reliably across all MCP clients — prefer this over eda_storyboard for
focused per-column questions.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bins | No | ||
| columns | Yes | ||
| source_id | Yes |