Tufte-style charts
skill · published by agentleFS · version 1 · approved by frdchang@gmail.com on 2026-10-12
Clean, directly labelled charts from a JSON spec that read in light and dark mode: stacks, lines, slopegraphs, small multiples.
Mountexamples/readme-sections/lines.spec.json
{
"_note": "Reads text-rule-trends' pooled.json directly: series take a top-level key, matched to periods by its Q.",
"data": "pooled.data.json",
"title": "The mean README grew; the median did not",
"subtitle": ["Section headings per README, five public repos: the mean went from {a[0]:.1f} to {a_last:.1f}, the median from {b[0]:.0f} to {b_last:.0f}."],
"series": [
{"label": "mean", "color": "#111", "from": {"key": "tot"}},
{"label": "median", "color": "#8a8478", "from": {"key": "med"}, "counts": [3, 3, 5, 5, 5, 5, 5]}
],
"y": {"min": 0, "max": 20, "step": 5, "tick": "{:.0f}"},
"value_format": "{:.1f}",
"ylabel": "headings per README",
"count_label": "READMEs",
"footnote": ["Each README read on Dec 31 of the year; a heading is a #, ## or ### line. Five repos are an example, not a sample."]
}

