docs(charts): add bar and line examples with screenshots#168
Merged
Conversation
Refresh bar.mdx and line.mdx with real commands, screenshot assets, and worker-pools benchmark for 3D grouped line. Add clusters.csv sample data for 2D auto-value scatter/line demos. Align CSV example CI matrix with 2D grouped sales recipes.
Keep branch chart screenshots and sales.csv examples while integrating main's --select docs and CI infrastructure. Workflow keeps bar,pie for the 2D grouped sales example; bar/line auto-value sections combine screenshots with solo --select override prose.
…rt screenshots Grouping guide (grouping.mdx -> group.mdx) covered both --group mechanics and how it compares to --select, with heavy repetition across sections. Split into three focused pages: group.mdx (trimmed to just group mechanics: pattern/regex syntax, bracket slots, aggregation, axis labels), select.mdx (new, the --select flag reference across grouped stat pick and solo value/mixed/multi-stat modes), and group-vs-select.mdx (new, the decision guide plus auto-group/auto-value inference rules previously scattered across other pages). All /guides/grouping links across the docs (troubleshooting, commands, charts, getting-started, index, features, examples/csv/README) updated to /guides/group; group.mdx's own linked anchors (matching-separators, bracket-slots, regex-syntax, the-dimensions, group-csvjson-data) were preserved verbatim since troubleshooting.mdx and group-vs-select.mdx link directly to them. Also: - Add pie/scatter chart screenshots (1D/2D/3D + value/mixed variants) referenced from charts/pie.mdx and charts/scatter.mdx. - Fix a repo-wide typo: life-expentency-income.csv -> life-expectancy-income.csv (file, CSV example docs, and the CI workflow's example id/name). - Add a clusters.csv CI example (2D auto-value scatter with visualMap) to the CSV examples workflow and README. - Wording pass on CSV/JSON docs: "numeric columns become series" -> "numeric columns each become their own chart" (a --select-created chart isn't strictly a "series" anymore now that select.mdx exists). Docs build (astro build) verified clean, 35 pages, no broken links.
Examples deploy workflows fired on every push to examples/**, which could publish output from an unreleased vizb build. Trigger only on Release completion or manual dispatch.
Swap embedded video for the existing contribution-history gif and drop redundant install subsections (Go toolchain, nested headings).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
bar.mdxandline.mdxwith real CLI commands and screenshot assetsz/y/x)examples/csv/clusters.csvfor 2D auto-value scatter/line demosTest plan
cd docs && npm run build