Skip to content

Add a Deneb Showcase PowerShell notebook with refreshable public data - #103

Merged
TorreyBetts merged 1 commit into
DataficationSDK:mainfrom
eosfor:fix/deneb-showcase-sample
Sep 4, 2026
Merged

TorreyBetts merged 1 commit into
DataficationSDK:mainfrom
eosfor:fix/deneb-showcase-sample

Conversation

@eosfor

@eosfor eosfor commented Aug 31, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Add a PowerShell Deneb Showcase notebook with 10 saved visualizations in 29 cells, backed by refreshable public data.

This is a samples-only contribution. It follows the self-contained text/x-verso-widget rendering pattern in #95 (now merged), relies on the corrected Viewer behavior, and makes no changes to the Viewer, kernels, or core rendering infrastructure.

Included examples

Visualization Dataset
Calendar Heatmap Open-Meteo daily weather for Irvine, from 2023; temperature/precipitation
Mekko + TopN Donut SIPRI annual military spending, from 2023
Sankey Microsoft reported fiscal quarters, from FY2023
Bank Failure Bubble Chart FDIC failures, from 2001
Force Directed Graph Wikidata brand ownership statements
Force Directed Graph MusicBrainz shared band members, including Ария and Кипелов
Population Bar Chart Race World Bank annual population, from 1960
Parallel Coordinates NASA Exoplanet Archive composite catalogue
Waffle Charts NESO Great Britain electricity generation mix, recent completed UTC half hours

Implementation

  • helper.ps1 supplies pipeline-oriented commands to fetch a pinned Deneb specification, replace inline/named datasets without mutating the template, set explicit dimensions, and render Vega or Vega-Lite.
  • Eight dataset adapters handle source downloads, validation and template binding. Most examples separate download and display cells so period/filter changes reuse the loaded data. Mekko and Donut share their download; the two relationship graphs each use a self-contained code cell.
  • Source precision, units, missing values, quality/limit flags and provenance are preserved or explicitly documented. Missing data is not silently converted into zero; incomplete series and unsupported selections are handled visibly.
  • Keep original chart structures and interactions where possible; document adaptations such as calendar date parsing, bounded force-graph sizing, logarithmic exoplanet axes, paused population animation, and the compact 3-column waffle layout.
  • Pin Deneb templates to eded225be500aa9bdec51b72fbb94063e3a92af0 and JavaScript runtimes to Vega 6.3.1, Vega-Lite 6.4.3 and Vega-Embed 7.1.0.
  • Include run instructions and the upstream MIT notice for adapted chart specifications.

Online preview

Open in Verso

The Viewer is read-only: it displays the notebook's 10 saved outputs and does not execute PowerShell or refresh the public datasets.

How to try

Open samples/notebooks/powershell/deneb-showcase/deneb-showcase.verso in Verso with PowerShell support. Saved outputs are included. To refresh, run the helper import, the relevant download cell and its display cell. Keep the adjacent .ps1 files with the notebook.

No API keys or additional PowerShell modules are required. Internet access is needed for downloads and for the pinned jsDelivr runtimes, including when displaying saved outputs. A fresh kernel must rerun imports/downloads before display cells can reuse variables.

Validation

  • Passed seven local PowerShell regression scripts covering the generic helper and all dataset adapters: parsing, pagination, null/zero distinctions, invalid inputs, fiscal quarter derivation, source units, graph relationships, template isolation and period/filter selection.
  • Passed the saved-notebook validation: all 10 widget specifications compile/parse; data transforms, finite geometry, Sankey balances, Mekko/Donut grouping, calendar coverage, graph endpoints, population animation, exoplanet brushing/reset and all 900 waffle dots checked.
  • Saved outputs contain no error entries. Browser visual/interaction checks were performed during development; the last waffle check verified all nine panels fit in a 480×700 chart.
  • Checked merge compatibility with current main, including merged Add a PowerShell DataFrame and Vega-Lite sample #95, and git diff --check.
  • Regression scripts are intentionally local-only and are not included in this PR. Full solution build/test suite was not rerun for this sample-only preparation; the checks above do not claim full-suite coverage.

Scope and caveats

  • Only samples/notebooks/powershell/deneb-showcase/ is included. No unrelated notebook changes, local test scripts, or Viewer workarounds.
  • Saved data is a snapshot, not a live dashboard. External endpoints, source revisions and availability can change; rerun download cells to refresh.
  • Source-specific caveats are documented: fiscal vs calendar years, SIPRI available-entity totals, unverified/open-ended Wikidata ownership, historical MusicBrainz membership, complete population series, exoplanet selection/limit flags, and Great Britain rather than UK-wide electricity coverage.
  • Original Deneb authorship and dataset attribution are retained. The original Vega-Lite v5 schema can emit a version warning with the pinned v6 runtime; the included examples pass the runtime checks above.

@eosfor
eosfor marked this pull request as ready for review September 1, 2026 02:16
@TorreyBetts

Copy link
Copy Markdown
Contributor

Thanks for creating and putting this notebook together, the charts look great.

@TorreyBetts
TorreyBetts merged commit cedcdaa into DataficationSDK:main Sep 4, 2026
1 check passed
@eosfor

eosfor commented Sep 4, 2026

Copy link
Copy Markdown
Contributor Author

Those aren’t my charts, but they look awesome :D And they work perfectly in Verso + PowerShell. This is exactly what I’ve been looking for all this time. Thanks so much for it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants