Skip to content

GenStudio

GenStudio is a Python library for creating interactive, JavaScript-based visualizations. It provides a simple, composable way to generate plots, animations, and custom user interfaces from within a Python environment.

Getting Started

Key features:

  • Seamless integration with Observable Plot, a layered grammar-of-graphics based library, for creating rich, interactive plots
  • Compose plots, HTML elements, and interactive widgets using a simple, declarative syntax
  • Animate plots with built-in support for sliders and frame-by-frame animations
  • Embed visualizations in Jupyter notebooks or standalone HTML files
  • Customize every aspect of your visualization with JavaScript when needed

Installation

To install GenStudio, run

pip install genstudio

If you're using GenJAX, you can install GenStudio as an extra:

pip install genjax[genstudio]