Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Renders analysis results as line, bar, area, scatter or histogram charts saved as PNG files with generating scripts.
46% 65%+19 ptsof test cases passed
Passed 17 of 26 test cases with the skill, and 12 of 26 without it.
3 of 3 safety checks passed
Not used yet
Repeatable SOP for turning a result set into a chart that actually communicates the point.
Match chart type to question. Decide before drawing:
| Question shape | Chart |
|---|---|
| "How does X change over time?" | Line (single series) or multi-line |
| "Composition / share of total" | Stacked bar, or 100% stacked area |
| "Comparison across a small set of categories" | Bar (horizontal if labels are long) |
| "Relationship between two numeric variables" | Scatter |
| "Distribution of a single variable" | Histogram or box plot |
| "Cumulative total" | Area |
If none fit, ask the user which view they want — do not default to "any chart will do".
Prepare the data. The query result from the [[sql-analysis]] Skill should
already be tidy (one row per data point, one column per dimension). If not,
reshape first using pandas (pivot, melt, groupby). Save the cleaned
frame to knowledge/cache/<topic>.csv so it can be re-rendered.
Render with matplotlib. Write the script to a file under
scratch/charts/<topic>.py and execute it via shell_run. Conventions:
Active users (count),
Date (UTC)).knowledge/style.md.bbox_inches='tight', dpi=150) under
knowledge/charts/<topic>.png.Show and explain. In the assistant reply, link the saved image with a
markdown image embed () and write
2–3 sentences interpreting it — what the chart shows, the one thing the
Next to this one in the catalogue, plus more from the same author.