This is an example of how to render Altair charts in MetaFlow cards. Altair allows you to make interactive plots.
To run the example, first install dependencies
pip install -r requirements.txt
Then, run the Flow:
python altairflow.py run
Then, view the card:
python altairflow.py card view start
You can draw a rectangle on the top graph to filter the bar graph on the bottom: