wiki: update for 24.0.0 "Evidence Act" release
- Home: 24.0.0 headline, 80 commands, 24.0.0 breaking-changes box
- Flip all "Unreleased (after 23.0.1)" markers to 24.0.0 across ~28 pages
- New: writestat section, readstat --dictionary/--select/--offset/--limit/--sample,
--help --format json|md and --export-tool-definitions, aarch64 musl and
Windows ARM64 gnullvm prebuilts, MSRV 1.99
- Variant counts: qsv 80, qsvpy 81, qsvmcp 70; 57 MCP tools
- frequency/stats fixes and speedups, symlinked moarstats fix, #4603 fixed
- Visualization: "Recent viz changes (24.0.0)"; earlier section retitled 23.0.1
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Visualization: census:state accepts full state names (#4694)
viz smart: region maps total the additive measure (#4683, #4684)
Visualization: bare-year time axes (#4685) and year tick labels (#4686), unreleased after 23.0.1
Visualization: seasonality rings (#4672), census:state (#4681), denominator exclusions (#4680)
- Seasonality profile: describe the polar panel and the scored, per-cycle
rings from #4672 (unreleased, after 23.0.1).
- Census boundaries: add a census:state row to the layer table.
- Unreleased list: census:state, and --denominator census now excluding
and reporting uncovered codes instead of aborting.
wiki: viz/describegpt - upcoming skew, Hoover, near-unique Float changes
- Marked Unreleased (after 23.0.1): G1 skew cues, width-fitted title
hints, Hoover on Lorenz panels, exact-moment BC in plain viz smart,
near-unique Floats as measures (#4653, #4657), QSV_VIZ_DICT_FRESH for old
dictionaries, DataTables 3.1.1, byte-stable choropleths (#4645); new
'Upcoming viz changes' section; describegpt Float unique_id exemption and
primary-key/1:1 effects.
- Chromedriver probe: executable check, Unix-only system dirs; mark the
Environment-Variables description as unreleased.
- Fix: --denominator census works on viz smart (23.0.1 too), document
census@<year>; add the live wpa_211_requests gallery rate-map example.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
wiki: fix claims that are wrong for the released 23.0.1
- The 23.0.0 tag and release no longer exist; "Context is King" is 23.0.1,
so every releases/tag/23.0.0 link 404'd. Relabel 23.0.0 -> 23.0.1.
- moarstats count: 55 / 25+ -> 56 (73 on master, marked unreleased).
- moarstats example: `> file` captured 0 bytes (moarstats updates the stats
CSV in place); use -o.
- FAQ: MSRV is 1.98; linux-aarch64 is not built with target-cpu=native.
- Binary-Variants: target-cpu=native also survives on Windows-on-ARM,
ppc64le and s390x, not just Apple Silicon.
- Date recipes: julianday / SQLite-order strftime fail on Polars SQL;
rewritten with STRPTIME/STRFTIME/EXTRACT, verified on 23.0.1 and master.
- Environment-Variables: add the 5 MCP/Cowork vars missing vs docs.
- SQL-and-Polars: an IN subquery was mislabeled "correlated".
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
wiki: document chromedriver setup for viz static export (#4620)
Visualization gains a "Driver setup" subsection under Static image export: the
probe order qsv uses to find a chromedriver, the WEBDRIVER_PATH/BROWSER_PATH
overrides, the Chrome-major-version match requirement, and the note that
Homebrew's chromedriver cask was disabled 2026-09-01. Also records that prebuilt
binaries through 23.0.1 carried a chromedriver path baked in from the build
machine, so readers on a current release know to set WEBDRIVER_PATH by hand.
Firefox is removed as an option in both places that offered it. viz_static
compiles against plotly_static/chromedriver, and chromedriver/geckodriver are
mutually exclusive upstream features, so a geckodriver can never serve a qsv
build regardless of configuration.
Environment-Variables gains WEBDRIVER_PATH and BROWSER_PATH under a separate
third-party heading - they are read by plotly_static directly, so they are not
QSV_* vars and never appear in `qsv --envlist`.
Two stale claims corrected while in the same file family:
- Security-and-Dependencies listed plotly as the dathere/plotly fork. qsv now
pins upstream plotly/plotly.rs rev 00fe0512 - our charting fixes were merged.
- Binary-Variants listed viz_static in qsvmcp's feature set and said viz ships
there "as viz_static". qsvmcp uses plain viz (Cargo.toml:634): viz over MCP is
HTML-only by design, so the browser-backed static-export path was never
reachable there.
Generated with Claude Code
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
wiki: reorganize Visualization as the reference layer for a shortened viz USAGE
`qsv viz --help` is being cut from 1,052 to 738 lines by moving rationale,
thresholds and worked JSON here. That only works if this page is navigable and
complete, so:
- add a Contents table and regroup into stable sections: `viz smart`, The Data
Dictionary, Chart subcommands, Maps & geography
- pin every load-bearing anchor with an explicit <a name>, including the ten
linked from Home.md, AI-and-Documentation.md, Aggregation-and-Statistics.md,
Command-Reference.md, Recipe-Inspect-Unknown-CSV.md and from within this page,
so future heading rewordings cannot 404 them
- drop the rot-prone "(new in 23.0.0)" heading suffixes and retitle the
release-notes block to "Recent `viz` changes (23.0.0)"
Fill the gaps that existed only in the USAGE text: `--bivariate`,
`--sankey-value-order`, the `x-qsv.tour` override schema, the `--box-points` /
`--violin` threshold tables, `x-qsv.denominator`, the pipeline funnel-vs-bridge
rule with both JSON encodings, what the `--dict-info` drawer bundles and omits,
and an Output/offline/file-size section for QSV_VIZ_CDN, QSV_VIZ_NO_COMPRESS and
the DecompressionStream browser floors.
Fix one stale fact: `--snap-max-dist` has no fixed 10 km default. The cap is
derived from the GeoJSON's median region size and the coordinate precision,
clamped to 0.1-100 km; 10 km applies only when neither signal is available.
Environment-Variables: add QSV_CENSUS_API_KEY, QSV_VIZ_BOUNDARY_CACHE_TTL_DAYS
and QSV_VIZ_DENOMINATOR_CACHE_TTL_DAYS, which were documented nowhere but inside
the viz USAGE.
docs: catch the wiki up for the 23.0.0 "Context is King" release
~230 commits' worth of changes since the wiki's last update on Aug 10.
Visualization — the release headliner. The Census work gets three new
sections: `--geojson auto`/`census:<layer>` boundary resolution (including
`census:place` now covering CDPs, and why a low-match column is REFUSED rather
than drawn partially); county- and city-NAME resolution, with the warning that
`--geocode` on COUNTY names is a silent wrong answer (it searches city names —
Litchfield County resolves to Maricopa AZ) and that 422 shared county names
make a bare national column a hard refusal; and `--check-geojson-key` for the
choropleth-that-shades-nothing case. Plus rate maps (all three denominator
sources, `--denominator-unit`, and both refusal rules — a constant denominator
is threshold-free on D==1, never a ratio, and on a genuine conflict the KPI
tile is OMITTED rather than falling back), the guided Tour, and units/money.
describegpt — the `x-qsv` annotations added this cycle (unit/UCUM, the
measure.money concept, the derived denominator and its geography level, tour),
the declare-only vs propose-then-verify table and the rule that separates them
(does a bad value corrupt a number, or only suppress a feature?), and the
"an inferred dictionary is a draft, the reviewed copy is the artifact of
record" framing with the bound on it: a hand-edit cannot assert a hint the
data does not support.
readstat — a full section on the new command; its flag table is transcribed
from the docopt USAGE verbatim.
Correctness — the stats.rs sweep and the stats-cache fixes, the auto-indexing
rewrite, and `count`'s blank-line disagreement. The approx-methods entry is
called out as a VISIBLE OUTPUT CHANGE, with the measured detail that
`--cardinality-method approx` moves only on the parallel INDEXED path (only
that path routes through the HLL union). The blank-line fix is deliberately
NOT overstated: polars-backed commands still process the phantom null row, so
SQL-and-Polars carries that caveat with a worked repro.
Also: geocode's `index-load` fixes and the cities1000 floor, the
failed-download-written-as-payload fix, the missing QSV_MCP_* and
QSV_NO_ALLOC_TUNING env vars (the wiki's env list is now in sync with
docs/ENVIRONMENT_VARIABLES.md), and Home's release blurb and counts.
Benchmarks.md is deliberately untouched — it still reflects the 22.0.1 run,
and regenerating it means actually running the suite rather than editing
published numbers by hand.
Verified: wiki lint passes (80 command references). Every flag referenced
anywhere in the wiki was diffed against the generated docs/help/ and the
command sources — no fabricated flags. Counts came from running `--list` on
freshly built binaries, not from incrementing.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Updated Visualization (markdown)
docs: catch the wiki up for the 22.0.1 "Data Schematic" release
Wiki was last updated Jul 23, mid-cycle; 22.0.1 shipped Aug 8.
- Home: new 22.0.1 release blurb (was still 21.1.0 "Leaner & Faster")
- Visualization: introduce the Data Schematic as the ARTIFACT `viz smart`
produces (command stays "auto-dashboard", matching viz.rs/FEATURES.md);
new data-viewer-drawer + cross-linking + localized-schematics sections;
dictionary-declared pipeline funnel panel; funnel chart example;
viz shipping/big-endian caveat
- Transform-and-Reshape: new `fixedwidth` section (help declares this page
as its wiki home)
- Indexing-Compression-Diff: new `clean` section (Command-Reference linked
a page with no such section)
- Breaking changes documented: minijinja 2.23 True/False/None rendering,
cached 2->3 sled->redb (incl. the TTL=0 inversion), describegpt prompt
file 8.0.0 -> 9.0.0
- describegpt: document local whatlang content-language auto-detection and
the dual-typed --language flag
- Binary-Variants: per-variant command counts verified against 22.0.1
(qsv 78 / qsvpy 79 / qsvmcp 69 / qsvlite 51 / qsvdp 44)
- MCP-Server: replace "~65 tools" with 69 commands / 55 skill-based tools
Fixes found en route:
- `describegpt --lang` does not exist (rejected by docopt); corrected to
`--language` in 2 places
- 5 broken anchors into "(cross-reference)" headings in Command-Reference
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
docs: catch the wiki up on changes since Jul 12
Audited the wiki against qsv master (~50 non-dependency commits since the
last content update). Most of that window was viz work.
Added:
- Visualization: `splom` + `parcats` subcommands (decision table + examples);
a new "Animation, range & annotation" section for `--slider`,
`--slider-speed`, `--slider-cumulative`, `--rangeslider`, `--y-range` and
`--annotation`; `viz smart` sections for skew-aware encoding (Gini/Lorenz,
log-scale boxes), judicious animated panels, and `--photos` hover imagery;
the `--dict-info` sidecar download row
- Aggregation-and-Statistics: `stats --jsonl` / `--pretty-json` stdout output
- Validation-and-Schema: `validate --split-ragged`, incl. QSV_COMMENT_CHAR
- Installation: the twice-a-month background update check and its opt-out
Fixed stale facts:
- Visualization said the smart downsample cap was 50,000 points in three
places; it is 150,000, which the wiki's own Environment-Variables page
already stated correctly
- FAQ gave the MSRV as 1.96; it is 1.97
- Security-and-Dependencies listed forks qsv no longer patches (`sled`,
`calamine`) and a stale plotly pin, and omitted `self_update`; added a note
on the sled -> redb migration that dropped the forked crate entirely
- Command-Reference's viz chart list was missing 8 subcommands
Every added example was executed against a current build before documenting;
that caught an animated-bar example using a column sales_sample.csv lacks.
docs(viz): add "Hand-tuning the Data Dictionary" section
Document how to hand-edit the describegpt JSON Schema that drives
viz smart --dictionary:
- how to get an editable <stem>.schema.json (infer or describegpt),
view it with --dict-info, and re-run
- panel routing precedence concept -> role -> content_type -> stats
- x-qsv role/concept/content_type valid values & routing (namespace/bucket depth)
- KPI tuning: gauge_range (auto-emitted) and target (hand-authored), and how
role/concept make a column KPI-eligible
- caveats: edits not re-validated, guardrails, HTML/smart-only
Verified against source and a live viz smart run.
docs(viz): document yesterday's changes — icicle, KPI overview row, legend toggle
- viz icicle: new part-to-whole hierarchy subcommand (level-aligned bars);
quick-decision row, smart --hierarchy-style option, body section, examples
- viz smart KPI overview row: big-number tiles, x-qsv.gauge_range GAUGE and
x-qsv.target DELTA hints (describegpt now emits gauge_range)
- "Toggle legend" modebar button alongside fullscreen
- smart summary choropleths from a region-code column (recognizes county_fips/
state_fips and other geo codes)
docs: wiki drift audit — fix stale counts, flags, viz/MapLibre, dep forks
Audited all wiki pages against current qsv source (v21.1.0):
- Command counts, version strings, stats/vocab/token counts corrected
- Removed non-existent flags (diff --select, fetch --redis-cache-conn,
QSV_TMPDIR, QSV_MEMORY_HEADROOM_MB) and fictional apply ops (cast,
wkt_point) / luau helpers; fixed luau col[] access + positional script arg
- viz page migrated Mapbox->MapLibre (DensityMap, token-free --style list,
--dict-info/--dataset-pid/--cluster/--heatmap-density)
- Security page dep-fork updates (csvlens YS-L, calamine/plotly/spreadsheet-ods),
geoconvert formats, validate keywords, Integrations release URL
- Recipe fixes: template arg order, Tieske date TAT, joinp --asof, --language
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
viz: document violin, choropleth, treemap & sunburst
Close Visualization page drift against the current viz subcommands:
- violin: new decision-table row, subcommand example, and a rewritten
smart-dashboard "Distribution panels (violins by default)" section
covering --violin auto|on|off, the non-null point-overlay heuristic,
dense-grid demotion, the --box-points none interaction, and the
sampled-violin downsampling behavior
- choropleth: decision-table row, two examples, a "Choropleths"
subsection (--locations/--value/--agg/--location-mode/--geojson
point-in-polygon/--geocode/--map), and a static-export tile note
- treemap & sunburst: two decision-table rows, two examples, a
"Hierarchies" subsection, and a smart part-to-whole hierarchy panel
bullet documenting --hierarchy-style
All prose transcribed from docs/help/viz.md. The decision table now
covers all 20 viz subcommands.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
docs(viz): document choropleth, smart choropleth panel & --dictionary
- add viz choropleth to the quick decision table (2 rows: built-in
countries/states & custom-GeoJSON point-in-polygon)
- add a smart auto-dashboard bullet for the geographic choropleth panel
(reverse-geocoded per-state/per-country fill + point-in-polygon binning,
snap-distance / dropped-points behavior, geocode-feature gating)
- add an EXPERIMENTAL --dictionary / --dictionary-context subsection
- add choropleth sample-dataset downloads & command examples
- add a 'Choropleths in depth' workflow section
- note the new fullscreen modebar button for interactive HTML
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
viz: document radial sunburst in-sector text
Note the radial sunburst labels in the Gallery section and the
"Hierarchy charts in depth" sunburst description (plotly.js 3.6).
Visualization: document viz treemap & sunburst
Add the part-to-whole hierarchy charts that were missing from the page:
- decision-table rows for treemap (sized tiles) and sunburst (rings)
- a smart-dashboard bullet for the auto hierarchy panel, incl. the
Cramér's V independence screen and --hierarchy-style override
- treemap/sunburst subcommand examples (sales_sample.csv)
- a "Hierarchy charts in depth" section covering --cols/--value and the
additive-only --agg (sum/count) constraint
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
viz: point gallery link at GitHub Pages instead of githack
The gallery is now served from GitHub Pages (published from examples/viz/
by a workflow on master), so it renders with the correct content type and
the embedded smart-dashboard iframes load — no third-party proxy.
viz: refresh for static export, geo outliers, --smarter, --theme
Bring the Visualization page up to date with recent viz work on master:
- Fix stale static-export claims: smart dashboards now export ALL panels
(beyond 8, via domain-positioned axes) and the offline ScatterGeo map;
only the Mapbox tile map and 3D scatter stay HTML-only (was: "capped at
8 panels" / "static export skips them").
- Document viz smart geographic-map enrichments: outlier flagging,
reverse-geocoded core extent + bounding box/location summary, and the
"Core extent"/"Full extent" buttons.
- Add the --smarter flag (one-step moarstats --advanced).
- Add a Theming section for --theme (Plotly built-in themes, all chart
types) and distinguish it from --style (map basemap).
viz: document (NULL)/Other freq buckets, auto log-scale, and hatching cue
Updated Visualization (markdown)
viz: document viz smart downsampling algorithms and thresholds
Add a 'Data size & downsampling' subsection covering the 50,000-point
cap, LTTB (shape-preserving) for the time-series panel, uniform stride
for scatter/map/histogram panels, and which panels summarize instead of
plotting raw points. Note downsampling is viz smart-only.
wiki: document viz geo/contour/scatter3d + smart auto-wiring
Visualization: add scatter3d/contour/geo to the decision table and the chart
subcommands block; document the smart-dashboard additions (correlated-pair
contour for big data, 3D triple panel, geo projection world-overview for
global extents, the box-points size heuristic + --box-points on smart); add a
viz geo paragraph to "Maps in depth".
Command-Reference: extend the viz chart-type list with scatter3d/contour/geo.
Geospatial: add a viz geo row + see-also note.
wiki: document moarstats-informed viz smart dashboards
The Visualization page didn't cover how `qsv moarstats` informs `viz
smart`. Add a "moarstats-informed dashboards" subsection (bimodal ->
histogram, skew/outlier box hints, concentrated high-card bars) and a
"Feeds viz smart" cross-link from the moarstats section of Aggregation
& Statistics.
viz: document the new map subcommand
- Visualization: decision-table row, smart-dashboard map panel (plus the
time-series + correlated-pair panels the list was missing), a 'Maps in depth'
section (encodings, --density, --style/token), quakes.csv dataset, and a
Geospatial cross-link.
- Geospatial: decision-table row + See-also link to viz map.
- Command-Reference: add map to the viz chart list.
wiki: fix Visualization gallery link (githack, not htmlpreview)
htmlpreview.github.io renders the Plotly gallery blank (it drops external CDN
scripts and can't handle the inline bundle). Point the "View the gallery" link
at raw.githack.com, which serves the raw file as text/html so the charts render.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QQL6f5DLKFHc2SM7XW5HQD
wiki: add Visualization (viz) category page
New Visualization page documenting the `viz` command — the smart auto-dashboard
and all chart subcommands (bar/line/scatter/histogram/box/pie/heatmap/
candlestick/ohlc/sankey/radar) — with a quick decision table, copy-paste
examples, and links to the examples gallery + sample datasets in
examples/viz/. Linked from the sidebar and Command-Reference.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QQL6f5DLKFHc2SM7XW5HQD