You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/use-cases/AI_ML/data-exploration/marimo-notebook.md
+183-7Lines changed: 183 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
---
2
-
slug: /use-cases/AI/jupyter-notebook
2
+
slug: /use-cases/AI/marimo-notebook
3
3
sidebar_label: 'Exploring data with Marimo notebooks and chDB'
4
4
title: 'Exploring data with Marimo notebooks and chDB'
5
5
description: 'This guide explains how to setup and use chDB to explore data from ClickHouse Cloud or local files in Marimo notebooks'
@@ -13,6 +13,9 @@ import image_2 from '@site/static/images/use-cases/AI_ML/jupyter/2.png';
13
13
import image_3 from '@site/static/images/use-cases/AI_ML/jupyter/3.png';
14
14
import image_4 from '@site/static/images/use-cases/AI_ML/Marimo/4.png';
15
15
import image_5 from '@site/static/images/use-cases/AI_ML/Marimo/5.png';
16
+
import image_6 from '@site/static/images/use-cases/AI_ML/Marimo/6.png';
17
+
import image_7 from '@site/static/images/use-cases/AI_ML/Marimo/7.gif';
18
+
import image_8 from '@site/static/images/use-cases/AI_ML/Marimo/8.gif';
16
19
17
20
In this guide, you will learn how you can explore a dataset on ClickHouse Cloud data in Marimo notebook with the help of [chDB](/docs/chdb) - a fast in-process SQL OLAP Engine powered by ClickHouse.
18
21
@@ -21,11 +24,15 @@ In this guide, you will learn how you can explore a dataset on ClickHouse Cloud
21
24
- a virtual environment
22
25
- a working ClickHouse Cloud service and your [connection details](/docs/cloud/guides/sql-console/gather-connection-details)
23
26
27
+
:::tip
28
+
If you don't yet have a ClickHouse Cloud account, you can [sign up](console.clickhouse.cloud/signUp?loc=docs-marimo-chdb) for
29
+
a trial and get $300 in free-credits to begin.
30
+
:::
31
+
24
32
**What you'll learn:**
25
33
- Connect to ClickHouse Cloud from Marimo notebooks using chDB
26
34
- Query remote datasets and convert results to Pandas DataFrames
27
-
- Combine cloud data with local CSV files for analysis
28
-
- Visualize data using Plotly in Marimo's reactive environment
35
+
- Visualize data using Plotly in Marimo
29
36
- Leverage Marimo's reactive execution model for interactive data exploration
30
37
31
38
We'll be using the UK Property Price dataset which is available on ClickHouse Cloud as one of the starter datasets.
@@ -58,8 +65,8 @@ From a terminal run the following command to add your username and password as e
This guide demonstrated how you can use chDB to explore your data in ClickHouse Cloud using Marimo notebooks.
340
+
Using the UK Property Price dataset, we showed how to query remote ClickHouse Cloud data with the `remoteSecure()` function, and convert results directly to Pandas DataFrames for analysis and visualization.
341
+
Through chDB and Marimo's reactive execution model, data scientists can leverage ClickHouse's powerful SQL capabilities alongside familiar Python tools like Pandas and Plotly, with the added benefit of interactive widgets and automatic dependency tracking that make exploratory analysis more efficient and reproducible.
0 commit comments