https://github.com/outerbounds/metaflow-card-altair
Render Altair Charts in Metaflow Cards
https://github.com/outerbounds/metaflow-card-altair
metaflow metaflow-cards
Last synced: 10 months ago
JSON representation
Render Altair Charts in Metaflow Cards
- Host: GitHub
- URL: https://github.com/outerbounds/metaflow-card-altair
- Owner: outerbounds
- License: mit
- Created: 2022-01-15T04:40:25.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-01-29T19:48:10.000Z (almost 4 years ago)
- Last Synced: 2025-01-06T08:17:50.017Z (12 months ago)
- Topics: metaflow, metaflow-cards
- Language: Python
- Homepage:
- Size: 214 KB
- Stars: 2
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Altair MetaFlow Card
This is an example of how to render [Altair charts](https://altair-viz.github.io/) in MetaFlow cards. Altair allows you to make interactive plots.
## Instructions
To run the example, first install dependencies
```bash
pip install -r requirements.txt
```
Then, run the Flow:
```bash
python altairflow.py run
```
Then, view the card:
```bash
python altairflow.py card view start
```
You can draw a rectangle on the top graph to filter the bar graph on the bottom:
