docs(aibi-dashboards): add custom Vega-Lite visualization guide - #239
Closed
alexott wants to merge 1 commit into
Closed
docs(aibi-dashboards): add custom Vega-Lite visualization guide#239alexott wants to merge 1 commit into
alexott wants to merge 1 commit into
Conversation
Add references/6-custom-visualizations.md documenting the custom-vega-viz widget (Vega-Lite): the serialized widget envelope (stringified jsonSpec, encodings.fields, data.queryName, disaggregated:true, databricks_query data name), container sizing, the SQL-precompute pattern for grids/matrices, and the verified limitation that databricks_mark_selection cross-filtering breaks layered specs. Wire it into the SKILL.md Widget Index and Reference Files tables, and regenerate the plugin bundles. Co-authored-by: Isaac Signed-off-by: Alex Ott <alexey.ott@databricks.com>
Author
|
Closing it - will resubmit via universe |
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.
What
Adds guidance for building custom visualizations (Vega-Lite /
custom-vega-viz) in AI/BI dashboards — a widget type the skill did not previously cover.skills/databricks-aibi-dashboards/references/6-custom-visualizations.mdSKILL.md: acustom-vega-vizrow in the Widget Index (version 1) and a Reference Files entryplugins/databricks/**bundles +manifest.jsonviascripts/skills.pyWhat the reference covers
custom-vega-vizwidget envelope (the part the public docs omit):version: 1,jsonSpec.specas a stringified Vega-Lite JSON,encodings.fieldsas a flat column list,data.queryName,disaggregated: true, and thedata.name: "databricks_query"literal.containersizing.databricks_mark_selectioncross-filtering breaks layered specs (blank canvas, no error) — single-view only.All content was verified by building and deploying a working custom-viz dashboard (an ATT&CK coverage matrix over a Delta table).
Testing
python3 scripts/skills.py validate→ "Everything is up to date" (drift check)python3 -m unittest discover -s tests -p '*_test.py'→ 119 passedThis pull request and its description were written by Isaac.