rhiever/evident-charts
v0.2.4MIT
Makes clear, honest charts that state their point, and critiques charts you share. Checks labels, axes, and colors on the rendered chart before you see it.
Changelog
Unreleased
- README: install and update commands for GitHub Copilot CLI, which VS Code also reads.
- Claude plugin directory edition:
build_release.py --claude-directorybuilds a copy without scripts, because the directory accepts only instructions, data, and images from unverified publishers. Claude reviews the rendered chart instead of running the checks.
0.2.4
check_svg.pysandboxes the SVG it measures: its scripts don't run, nothing it links to loads, and a crafted file can't fake a pass. It now checks contrast onoklch()andlab()colors and measures embedded fonts correctly.check_chart.pystops flagging charts with missing values, catchesturboand colormaps in insets, and counts everysavefigcall.cumulative-as-rateonly warns on share and % axes.- Crashes and malformed input exit 2 with an error message instead of a traceback.
--list-checksworks without matplotlib. - Bold text stays bold on macOS with matplotlib older than 3.11. Smaller fixes to
side_by_side.pyand the ggplot2 and Plotly themes.
0.2.3
- Ready for Anthropic's plugin directory: a display name, a plain-language description for chat and Cowork users, and a README section on what the plugin runs.
- SKILL.md finds its scripts in claude.ai chat, where the skill folder is copied into the sandbox and
${CLAUDE_SKILL_DIR}isn't filled in.
0.2.2
- Added a portable plugin manifest, listing text, and EC icons.
- Clarified user overrides, tool requirements, and skipped checks. Review can use an allowed separate reviewer or self-review.
- Added a reproducible release ZIP builder and package tests.
- Updated installation guidance and added an acceptance checklist.
0.2.1
- Removed
check_data.py. In test runs it raised false alarms and added nothing agents didn't already catch; the data checks are back to short written rules. check_chart.pynow flags text on a line where a gray context line meets its accent-colored part, and text crossing a zero or reference line.
0.2.0
check_data.pychecks a data table before charting: total rows mixed with members, duplicate keys, trailing zero periods, status flags, sentinel codes, mixed units, gaps, frozen values.check_svg.pyruns the overlap, clipping, text size, contrast, and color-blindness checks on SVG exports from Plotly, Vega-Lite/Altair, ggplot2, and D3 (needs Chrome).check_chart.pyaddsnumber-format(offset text like "1e6", fractional year ticks, mixed decimals),category-order(unsorted bars, lines across categories),segment-edges(touching fills with no border), andinvisible-arrow(annotation arrows the house style hides).- New rules: margins of error for poll leads, both absolute levels for relative risks, fitted lines inside the data, gaps in lines for missing periods, white edges between filled segments.
0.1.0
First release.
- Workflow for explanatory charts: check the data, write a one-line brief, pick the form, build, check, review, deliver.
- Rules tagged by evidence (
[E],[P],[T]), with citations for every rule ID inreferences/sources.md. check_chart.pylints matplotlib charts: overlapping or clipped text, labels on data, bar baselines, dual axes, color-blind confusable series, contrast, plot shape, and more.check_palette.pytests palettes for color-blind safety and contrast.evident.pyhelper with presets for blog, X, LinkedIn, slides, reports, and phones.- A visual review loop on the rendered chart before delivery, up to three rounds.
- Chart critique with ranked, rule-cited fixes.
- House themes for matplotlib, ggplot2, Plotly, Vega-Lite, and D3.
- Installs for Claude Code, Codex, Gemini CLI, and any agent that
npx skillssupports.