Catalogue / chart-render
chart-render
MITSignedRender distribution and trend views from the same normalized measurement records. Use for comparing chart values and exporting a PNG or SVG.--- name: chart-render description: Render distribution and trend views from the same normalized measurement records. Use for comparing chart values and exporting a PNG or SVG. ---
Chart rendering
Select a view based on the question. Use a distribution for the spread of observed values, a trend for elapsed time, and a table for exact values. Reuse the measurements and units accepted by ingestion. Keep recorded zeroes. Treat null as a gap in a trend and exclude it from distribution counts. Display skipped row counts. Keep filters and unit selection consistent when the user switches views.
The renderer consumes measurement-records/1 JSON with units and records containing elapsed_s and temperature_c. Use the included normalized fixture or output from the portable rawdata-ingest skill. Install Matplotlib in your environment, then run from the skill folder:
python scripts/render_chart.py references/measurements.json trend.png --view trend python scripts/render_chart.py references/measurements.json distribution.svg --view distribution
The trend view sorts by elapsed time and keeps the supplied row order for observations sharing a timestamp. This preserves the recorded sequence when a logger writes several readings in one clock tick.
The renderer prints the same data range and observation count for either view. It adds human-readable provenance metadata to PNG. Check displayed units and source counts, then open both exports. CSV exports intended for desktop Excel can use a UTF-8 BOM if the consuming workflow requires it.
| File | Size | SHA-256 |
|---|---|---|
| SKILL.md | 1.6 kB | e7b5fef52514 |
| SKILVAULT_SOURCE.json | 1.3 kB | f2c7857881cf |
| THIRD_PARTY_NOTICES.md | 1.1 kB | a404cba6bd11 |
| references/measurements.json | 320 B | e5ea494f72fe |
| scripts/render_chart.py | 2.5 kB | 079094aa2b1a |
Published verbatim from the pinned commit. Nothing is rewritten.
| Version | Pinned commit | Signed | |
|---|---|---|---|
| 0.1.0 Current | 7942fbacb08e | 29 Nov 2026 |
Locking a skill to one version needs Pro.