You can connect Jupyter notebooks to your Chakra database using the standard Python client. Here’s a quick example:
Copy
from chakra_py import Chakraimport pandas as pd# Initialize clientclient = Chakra("YOUR_DB_SESSION_KEY")# Query your datadf = client.execute("SELECT * FROM table_name")# Use pandas, matplotlib, or other visualization librariesdf.plot()
While Jupyter notebooks are widely used, we recommend trying Marimo - a modern Python notebook that addresses many of Jupyter’s limitations. Marimo offers:
Real-time reactivity
Better version control compatibility
Cleaner code organization
Enhanced reproducibility
Native UI components
Check out this example Marimo notebook that demonstrates how to analyze and visualize Chakra data effectively.