Skip to content

Commit ffbe0c1

Browse files
committed
Fixed frontmatter styling issues, replaced <img> with Image and added community badge
1 parent 2a6341c commit ffbe0c1

File tree

1 file changed

+20
-14
lines changed

1 file changed

+20
-14
lines changed

docs/integrations/data-visualization/chartbrew-and-clickhouse.md

Lines changed: 20 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
---
2-
sidebar_label: Chartbrew
2+
title: 'Connecting Chartbrew to ClickHouse'
3+
sidebar_label: 'Chartbrew'
34
sidebar_position: 131
45
slug: /integrations/chartbrew-and-clickhouse
5-
keywords: [ClickHouse, Chartbrew, connect, integrate, visualization]
6-
description: Chartbrew is a data visualization platform that connects to ClickHouse and other databases to build real-time dashboards.
6+
keywords: ['ClickHouse', 'Chartbrew', 'connect', 'integrate', 'visualization']
7+
description: 'Connect Chartbrew to ClickHouse to create real-time dashboards and client reports.'
78
---
89

9-
import ConnectionDetails from '@site/docs/_snippets/_gather_your_details_http.mdx';
1010
import chartbrew_01 from '@site/static/images/integrations/data-visualization/chartbrew_01.png';
1111
import chartbrew_02 from '@site/static/images/integrations/data-visualization/chartbrew_02.png';
1212
import chartbrew_03 from '@site/static/images/integrations/data-visualization/chartbrew_03.png';
@@ -17,15 +17,21 @@ import chartbrew_07 from '@site/static/images/integrations/data-visualization/ch
1717
import chartbrew_08 from '@site/static/images/integrations/data-visualization/chartbrew_08.png';
1818
import chartbrew_09 from '@site/static/images/integrations/data-visualization/chartbrew_09.png';
1919

20+
import ConnectionDetails from '@site/docs/_snippets/_gather_your_details_http.mdx';
21+
import CommunityMaintainedBadge from '@theme/badges/CommunityMaintained';
22+
import Image from '@theme/IdealImage';
23+
2024
# Connecting Chartbrew to ClickHouse
2125

26+
<CommunityMaintainedBadge/>
27+
2228
[Chartbrew](https://chartbrew.com) is a data visualization platform that allows users to create dashboards and monitor data in real time. It supports multiple data sources, including ClickHouse, and provides a no-code interface for building charts and reports.
2329

2430
## Goal {#goal}
2531

2632
In this guide, you will connect Chartbrew to ClickHouse, run a SQL query, and create a visualization. By the end, your dashboard may look something like this:
2733

28-
<img src={chartbrew_01} class="image" alt="Chartbrew dashboard" />
34+
<Image img={chartbrew_01} size="lg" alt="Chartbrew dashboard" />
2935

3036
:::tip Add some data
3137
If you do not have a dataset to work with, you can add one of the examples. This guide uses the [UK Price Paid](/getting-started/example-datasets/uk-price-paid.md) dataset.
@@ -40,7 +46,7 @@ If you do not have a dataset to work with, you can add one of the examples. This
4046
1. Log in to [Chartbrew](https://chartbrew.com/login) and go to the **Connections** tab.
4147
2. Click **Create connection** and select **ClickHouse** from the available database options.
4248

43-
<img src={chartbrew_02} class="image" alt="Select ClickHouse connection in Chartbrew" />
49+
<Image img={chartbrew_02} size="lg" alt="Select ClickHouse connection in Chartbrew" />
4450

4551
3. Enter the connection details for your ClickHouse database:
4652

@@ -51,19 +57,19 @@ If you do not have a dataset to work with, you can add one of the examples. This
5157
- **Username**: Your ClickHouse username.
5258
- **Password**: Your ClickHouse password.
5359

54-
<img src={chartbrew_03} class="image" alt="ClickHouse connection settings in Chartbrew" />
60+
<Image img={chartbrew_03} size="lg" alt="ClickHouse connection settings in Chartbrew" />
5561

5662
4. Click **Test connection** to verify that Chartbrew can connect to ClickHouse.
5763
5. If the test is successful, click **Save connection**. Chartbrew will automatically retrieve the schema from ClickHouse.
5864

59-
<img src={chartbrew_04} class="image" alt="ClickHouse JSON schema in Chartbrew" />
65+
<Image img={chartbrew_04} size="lg" alt="ClickHouse JSON schema in Chartbrew" />
6066

6167
## 3. Create a dataset and run a SQL query {#3-create-a-dataset-and-run-a-sql-query}
6268

6369
1. Click on the **Create dataset** button or navigate to the **Datasets** tab to create one.
6470
2. Select the ClickHouse connection you created earlier.
6571

66-
<img src={chartbrew_05} class="image" alt="Select ClickHouse connection for dataset" />
72+
<Image img={chartbrew_05} size="lg" alt="Select ClickHouse connection for dataset" />
6773

6874
Write a SQL query to retrieve the data you want to visualize. For example, this query calculates the average price paid per year from the `uk_price_paid` dataset:
6975

@@ -74,13 +80,13 @@ If you do not have a dataset to work with, you can add one of the examples. This
7480
ORDER BY year;
7581
```
7682

77-
<img src={chartbrew_07} class="image" alt="ClickHouse SQL query in Chartbrew" />
83+
<Image img={chartbrew_07} size="lg" alt="ClickHouse SQL query in Chartbrew" />
7884

7985
Click **Run query** to fetch the data.
8086

8187
If you're unsure how to write the query, you can use **Chartbrew's AI assistant** to generate SQL queries based on your database schema.
8288

83-
<img src={chartbrew_06} class="image" alt="ClickHouse AI SQL assistant in Chartbrew" />
89+
<Image img={chartbrew_06} size="lg" alt="ClickHouse AI SQL assistant in Chartbrew" />
8490

8591
Once the data is retrieved, click **Configure dataset** to set up the visualization parameters.
8692

@@ -91,11 +97,11 @@ Once the data is retrieved, click **Configure dataset** to set up the visualizat
9197
3. Choose a chart type (e.g., line chart, bar chart, pie chart) and add it to your dashboard.
9298
4. Click **Complete dataset** to finalize the setup.
9399

94-
<img src={chartbrew_08} class="image" alt="Chartbrew dashboard with ClickHouse data" />
100+
<Image img={chartbrew_08} size="lg" alt="Chartbrew dashboard with ClickHouse data" />
95101

96102
You can create as many datasets as you want to visualize different aspects of your data. Using these datasets, you can create multiple dashboards to keep track of different metrics.
97103

98-
<img src={chartbrew_01} class="image" alt="Chartbrew dashboard with ClickHouse data" />
104+
<Image img={chartbrew_01} size="lg" alt="Chartbrew dashboard with ClickHouse data" />
99105

100106
## 5. Automate data updates {#5-automate-data-updates}
101107

@@ -105,7 +111,7 @@ Once the data is retrieved, click **Configure dataset** to set up the visualizat
105111
2. Configure the update interval (e.g., every hour, every day).
106112
3. Save the settings to enable automatic refresh.
107113

108-
<img src={chartbrew_09} class="image" alt="Chartbrew dataset refresh settings" />
114+
<Image img={chartbrew_09} size="lg" alt="Chartbrew dataset refresh settings" />
109115

110116
## Learn more {#learn-more}
111117

0 commit comments

Comments
 (0)