Skip to content

Commit c1eb215

Browse files
committed
more images
1 parent bdd00b9 commit c1eb215

File tree

2 files changed

+24
-26
lines changed

2 files changed

+24
-26
lines changed

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

Lines changed: 18 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ import astrato_5a_clickhouse_build_chart from '@site/static/images/integrations/
1818
import astrato_5b_clickhouse_view_sql from '@site/static/images/integrations/data-visualization/astrato_5b_clickhouse_view_sql.png';
1919
import astrato_5c_clickhouse_complete_dashboard from '@site/static/images/integrations/data-visualization/astrato_5c_clickhouse_complete_dashboard.png';
2020
import ConnectionDetails from '@site/docs/_snippets/_gather_your_details_http.mdx';
21+
import Image from '@theme/IdealImage';
2122

2223
# Connecting Astrato to ClickHouse
2324

@@ -35,27 +36,26 @@ When setting up your data connection, you'll need to know:
3536

3637
## Creating the data connection to ClickHouse {#creating-the-data-connection-to-clickhouse}
3738

38-
- Select **Data** in the sidebar, and select the **Data Connection** tab
39+
- Select **Data** in the sidebar, and select the **Data Connection** tab
3940
(or, navigate to this link: https://app.astrato.io/data/sources)
4041
4142
- Click on the **New Data Connection** button in the top right side of the screen.
4243

43-
<img src={astrato_1_dataconnection} class="image" alt="Astrato Data Connection" style={{width:'50%', 'background-color': 'transparent'}}/>
44+
<Image img={astrato_1_dataconnection} class="image" alt="Astrato Data Connection" size="sm"/>
4445

45-
<br/>
46+
- Select **ClickHouse**.
4647

47-
- Select **ClickHouse**.
48-
<img src={astrato_2a_clickhouse_connection} class="image" alt="Astrato ClickHouse Data Connection" style={{width:'50%', 'background-color': 'transparent'}}/>
48+
<Image img={astrato_2a_clickhouse_connection} class="image" alt="Astrato ClickHouse Data Connection" size="sm"/>
4949

50-
- Complete the required fields in the connection dialogue box
50+
- Complete the required fields in the connection dialogue box
5151

52-
<img src={astrato_2b_clickhouse_connection} class="image" alt="Astrato connect to ClickHouse required fields" style={{width:'50%', 'background-color': 'transparent'}}/>
52+
<Image img={astrato_2b_clickhouse_connection} class="image" alt="Astrato connect to ClickHouse required fields" size="sm"/>
5353

5454
- Click **Test Connection**. If the connection is successful, give the data connection a **name** and click **Next.**
5555

56-
- Set the **user access** to the data connection and click **connect.**
57-
58-
<img src={astrato_3_user_access} class="image" alt="Astrato connect to ClickHouse User Access" style={{width:'50%', 'background-color': 'transparent'}}/>
56+
- Set the **user access** to the data connection and click **connect.**
57+
58+
<Image img={astrato_3_user_access} alt="Astrato connect to ClickHouse User Access" size="md"/>
5959

6060
- A connection is created and a dataview is created.
6161

@@ -67,19 +67,17 @@ if a duplicate is created, a timestamp is added to the data source name.
6767

6868
In our Data View editor, you will see all of your Tables and Schemas in ClickHouse, select some to get started.
6969

70-
<img src={astrato_4a_clickhouse_data_view} class="image" alt="Astrato connect to ClickHouse User Access" style={{width:'75%', 'background-color': 'transparent'}}/>
71-
<br/>
70+
<Image img={astrato_4a_clickhouse_data_view} alt="Astrato connect to ClickHouse User Access" size="lg"/>
7271

7372
Now that you have your data selected, go to define the **data view**. Click define on the top right of the webpage.
7473

75-
In here, you are able to join data, as well as, **create governed dimensions and measures** - ideal for driving consistency in business logic across various teams.
74+
In here, you are able to join data, as well as, **create governed dimensions and measures** - ideal for driving consistency in business logic across various teams.
7675

77-
<img src={astrato_4b_clickhouse_data_view_joins} class="image" alt="Astrato connect to ClickHouse User Access" style={{width:'75%', 'background-color': 'transparent'}}/>
78-
<br/>
76+
<Image img={astrato_4b_clickhouse_data_view_joins} alt="Astrato connect to ClickHouse User Access" size="lg"/>
7977

8078
**Astrato intelligently suggests joins** using your meta data, including leveraging the keys in ClickHouse. Our suggested joins make it easy for you to gets started, working from your well-governed ClickHouse data, without reinventing the wheel. We also show you **join quality** so that you have the option to review all suggestions, in detail, from Astrato.
81-
<br/>
82-
<img src={astrato_4c_clickhouse_completed_data_view} class="image" alt="Astrato connect to ClickHouse User Access" style={{width:'75%', 'background-color': 'transparent'}}/><br/>
79+
80+
<Image img={astrato_4c_clickhouse_completed_data_view} alt="Astrato connect to ClickHouse User Access" size="lg"/>
8381

8482
## Creating a dashboard {#creating-a-dashboard}
8583

@@ -89,18 +87,18 @@ In just a few steps, you can build your first chart in Astrato.
8987
3. Add dimension(s)
9088
4. Add measure(s)
9189

92-
<img src={astrato_5a_clickhouse_build_chart} class="image" alt="Astrato connect to ClickHouse User Access" style={{width:'75%', 'background-color': 'transparent'}}/><br/>
90+
<Image img={astrato_5a_clickhouse_build_chart} alt="Astrato connect to ClickHouse User Access" size="lg"/>
9391

9492

9593
### View generated SQL supporting each visualization {#view-generated-sql-supporting-each-visualization}
9694

9795
Transparency and accuracy are at the heart of Astrato. We ensure that every query generated is visible, letting you keep full control. All compute happens directly in ClickHouse, taking advantage of its speed while maintaining robust security and governance.
9896

99-
<img src={astrato_5b_clickhouse_view_sql} class="image" alt="Astrato connect to ClickHouse User Access" style={{width:'75%', 'background-color': 'transparent'}}/><br/>
97+
<Image img={astrato_5b_clickhouse_view_sql} alt="Astrato connect to ClickHouse User Access" size="lg"/>
10098

10199

102100
### Example completed dashboard {#example-completed-dashboard}
103101

104102
A beautiful complete dashboard or data app isn't far away now. To see more of what we've built, head to our demo gallery on our website. https://astrato.io/gallery
105103

106-
<img src={astrato_5c_clickhouse_complete_dashboard} class="image" alt="Astrato connect to ClickHouse User Access" style={{width:'75%', 'background-color': 'transparent'}}/>
104+
<Image img={astrato_5c_clickhouse_complete_dashboard} alt="Astrato connect to ClickHouse User Access" size="lg"/>

docs/integrations/data-visualization/deepnote.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ title: 'Connect ClickHouse to Deepnote'
1010
import deepnote_01 from '@site/static/images/integrations/data-visualization/deepnote_01.png';
1111
import deepnote_02 from '@site/static/images/integrations/data-visualization/deepnote_02.png';
1212
import deepnote_03 from '@site/static/images/integrations/data-visualization/deepnote_03.png';
13+
import Image from '@theme/IdealImage';
1314

1415
import ConnectionDetails from '@site/docs/_snippets/_gather_your_details_http.mdx';
1516

@@ -22,29 +23,28 @@ This guide assumes you already have a Deepnote account and that you have a runni
2223
## Interactive example {#interactive-example}
2324
If you would like to explore an interactive example of querying ClickHouse from Deepnote data notebooks, click the button below to launch a template project connected to the [ClickHouse playground](../../getting-started/playground.md).
2425

25-
[<img src="https://deepnote.com/buttons/launch-in-deepnote.svg"/>](https://deepnote.com/launch?template=ClickHouse%20and%20Deepnote)
26+
[<Image size="logo" img="https://deepnote.com/buttons/launch-in-deepnote.svg"/>](https://deepnote.com/launch?template=ClickHouse%20and%20Deepnote)
2627

2728
## Connect to ClickHouse {#connect-to-clickhouse}
2829

2930
1. Within Deepnote, select the "Integrations" overview and click on the ClickHouse tile.
3031

31-
<img src={deepnote_01} class="image" alt="ClickHouse integration tile" style={{width: '100%'}}/>
32+
<Image size="lg" img={deepnote_01} alt="ClickHouse integration tile"/>
3233

3334
2. Provide the connection details for your ClickHouse instance:
3435
<ConnectionDetails />
3536

36-
<img src={deepnote_02} class="image" alt="ClickHouse details dialog" style={{width: '100%'}}/>
37+
<Image size="md" img={deepnote_02} alt="ClickHouse details dialog"/>
3738

3839
**_NOTE:_** If your connection to ClickHouse is protected with an IP Access List, you might need to allow Deepnote's IP addresses. Read more about it in [Deepnote's docs](https://docs.deepnote.com/integrations/authorize-connections-from-deepnote-ip-addresses).
40+
3941
3. Congratulations! You have now integrated ClickHouse into Deepnote.
4042

4143
## Using ClickHouse integration. {#using-clickhouse-integration}
4244

4345
1. Start by connecting to the ClickHouse integration on the right of your notebook.
4446

45-
<img src={deepnote_03} class="image" alt="ClickHouse details dialog" style={{width: '100%'}}/>
47+
<Image size="lg" img={deepnote_03} alt="ClickHouse details dialog"/>
4648

4749
2. Now create a new ClickHouse query block and query your database. The query results will be saved as a DataFrame and stored in the variable specified in the SQL block.
4850
3. You can also convert any existing [SQL block](https://docs.deepnote.com/features/sql-cells) to a ClickHouse block.
49-
50-

0 commit comments

Comments
 (0)