Skip to content

Edit and explore Mosaic visualizations (real-time interaction for big datasets) in your browser

License

Notifications You must be signed in to change notification settings

alexkreidler/mosaic-playground

Repository files navigation

Mosaic Playground

Edit and explore Mosaic visualizations in your browser. Inspired by the Vega Editor.

Features:

  • Re-renders chart whenever the specification changes. Keeps the last working version when there is an error
  • Includes example specifications from the Mosaic website (loads latest versions directly from the Github repo)
  • Download JSON or YAML spec and SVG or PNG of chart (doesn't include legends, parameters, or concatenated charts)
  • Shows underlying DuckDB queries in side panel
  • Shows errors (Mosaic parse, Mosaic render) as toasts and in the console
  • Supports JSON or YAML specs and examples, can switch between the formats while editing.
  • Support autocomplete for Mosaic JSON specs using JSON schema

Limitations:

  • Doesn't support formatting or JSON-schema autocomplete for YAML specifications (see issues.md and upstream issue with @monaco-editor/react)
  • Does not show certain query errors like Binder Error: Referenced column "b" not found in FROM clause! (probably because they are inside an uncaught promise, may be an issue with Mosaic)

Screenshot

Uses

License

Apache-2.0

About

Edit and explore Mosaic visualizations (real-time interaction for big datasets) in your browser

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published