Use xpd views when you build, revise, or review multi-panel layouts, Dash dashboards, geospatial maps, networks, hierarchies, flows, and page-level narrative presentation. It checks small multiples, compound panel colors, equal-area choropleths, headlines, captions, provenance, and multi-figure coherence against the 61 view principles in rules/xpd/present.yml. See the view review guide and view gallery.
Gate a fix that is committed: run the checks, time --bench when set, count lines and compare the findings with the commit before it. Exit 1 when the fix is not kept
List only the findings of these kinds, separated by commas. Repeatable. Values: non-equal-area-choropleth, extra-dimensions, distorted-size, undeflated-money, missing-context, default-template, boxed-frame, heavy-grid, pattern-fill, animation-instead-of-multiples, free-facet-scales, rainbow-colorscale, cvd-collision, too-many-colors, oversaturated-fill, excess-ticks, zero-missing-ambiguity, inconsistent-compound-colors, legend-instead-of-labels, legend-order-mismatch, label-collision, column-name-label, rotated-ticks, all-caps-text, tiny-axis-labels, legend-inside-plot, missing-labels.
--limit <LIMIT>
20
The most findings to list of each kind, strongest first. 0 lists every finding.
--since <COMMIT>
Count the findings at this commit too, and print each count beside the count of today.
--group-by <GROUP_BY>
none
Group findings and checklist items by owning module or shared cause. Values: none (Keep the default flat per-kind listing), module (Group findings and checklist items by owning module path), cause (Group related findings by shared kind and anchor files).
--packet <N>
Emit one 1-indexed deterministic context-budgeted review packet for the Nth cluster.
--budget-lines <LINES>
300
Maximum source lines included across excerpts inside a --packet view.
--all-modules
Include checklist review items for every surveyed module, not only modules with findings.
--format <FORMAT>
Output format. Default: text on a terminal, json otherwise. Values: text, json.
--adapter <ADAPTER>
A Python adapter file or shell command that emits rendered view specs for runtime checks.
--questions
Print the inventory of view-review questions and runtime facts, with no file scan.
--book <BOOK>
Filter questions and checklist items to principles citing these books (comma-separated keys of books in rules/xpd/present.yml, such as wilke,munzner) Repeatable.
--tier <TIER>
Filter findings and checklist items to these Wilke severity tiers (comma-separated) Repeatable. Values: wrong (Mathematical or scale distortion that misstates the data), bad (Perceptual or clarity failure that impedes accurate decoding), ugly (Aesthetic or chrome flaw that leaves the data readable).