Goal
In this guide you will connect your data from ClickHouse to Explo and visualize the results. The chart will look like this:
- Gather your connection details
To connect to ClickHouse with HTTP(S) you need this information:
The details for your ClickHouse Cloud service are available in the ClickHouse Cloud console.
Select a service and click Connect:
Choose HTTPS. Connection details are displayed in an example
curl command.
If you’re using self-managed ClickHouse, the connection details are set by your ClickHouse administrator.
- Connect Explo to ClickHouse
- Sign up for an Explo account.
- Click on the Explo data tab on the left hand sidebar.
- Click Connect Data Source in the upper right hand side.
- Fill out the information on the Getting Started page
- Select Clickhouse
- Enter your Clickhouse Credentials.
- Configure Security
- Within Clickhouse, Whitelist the Explo IPs.
54.211.43.19, 52.55.98.121, 3.214.169.94, and 54.156.141.148
- Create a Dashboard
- Navigate to Dashboard tab on the left side nav bar.
- Click Create Dashboard in the upper right corner and name your dashboard. You’ve now created a dashboard!
- You should now see a screen that is similar to this:
- Run a SQL query
- Get your table name from the right hand sidebar under your schema title. You should then put the following command into your dataset editor:
SELECT * FROM YOUR_TABLE_NAME LIMIT 100
- Now click run and go to the preview tab to see your data.
- Build a Chart
- From the left hand side, drag the bar chart icon onto the screen.
- Select the dataset. You should now see a screen like the following:
- Fill out the county in the X Axis and Price in the Y Axis Section like so:
- Now, change the aggregation to AVG.
- We now have average price of homes broken down by price!