Skip to main content

Quickstart: from data to a shared dashboard

This guide follows the path every analysis in DataViz takes: connect data, explore it, save what you need as a dataset, chart it, and share the result. It takes about fifteen minutes.

Before you start

You need a file with a header row, such as a CSV export from your sales system, or the address and a read-only login for a database. Any CSV with a date column, a category column and a number column is enough to follow along. The examples use a file of about 5,500 order lines for a retailer called Acme Retail.

1. Create your workspace

  1. Sign up

    Open the sign-up page and enter your name, work email, mobile number and a password, plus a name and web address for your organization (for example Acme Retail and acme-retail).

  2. Confirm your email

    If your sign-up asks for a code, enter the six digits we email you. Your workspace opens on the free tier; no payment card is needed.

2. Connect your data

For this guide we'll upload a file. Connecting a live database works the same way.

  1. Open Databases

    In the left sidebar choose Databases, then Connect Database.

  2. Choose the source

    Under Files & Local, pick CSV File, Excel File or JSON File (a SQLite file is under Relational). For a database server, pick it under Relational or Cloud & Analytics.

  3. Name it and upload

    Give the connection a name, drop the file into the upload area, and choose Save connection. The name becomes the table's name, so a short one like Orders keeps your SQL readable.

What the video shows: On the Databases page, Connect Database opens the list of sources. CSV File is chosen, the connection is named Regional targets, the file is dropped in, and Save connection adds it next to the existing Orders connection.

3. Explore it in SQL Lab

Before you chart anything, look at the data and work out the question you're answering. SQL Lab is the quickest place to do that.

  1. Open SQL Lab and pick the connection

    Choose SQL Lab in the sidebar. Under Database, pick the connection you just made. The schema browser lists its tables; select a table's arrow to see its columns, or choose Query beside it for a ready-made SELECT *.

  2. Write and run the query

    Type the query and choose Run Query (or press Ctrl+Enter). This one totals revenue and works out the margin for each product category:

    SQL
    SELECT category,
           SUM(revenue) AS revenue,
           ROUND(SUM(profit) / SUM(revenue), 3) AS margin
    FROM Orders
    GROUP BY category
    ORDER BY revenue DESC

Not a SQL person? Python Lab does the same job with pandas, and Insight AI answers questions in plain English.

4. Save the query as a dataset

Charts, dashboards, alerts and Insight AI read from datasets: a table or a query you've named once, so everyone builds on the same definition.

  1. Choose Dataset

    With the query in the editor, choose Dataset in the toolbar above it.

  2. Name and describe it

    Enter a Dataset Name such as Revenue and margin by category, and a line under Description / Business Context saying what one row is.

  3. Save

    Keep Direct Query so charts read the data live, and choose Save. DataViz then offers Create Chart, which opens the chart editor on your new dataset.

What the video shows: In SQL Lab a query is typed that totals revenue and margin for each product category, and Run Query lists the five categories. Dataset opens Save Dataset; the dataset is named Revenue and margin by category and saved. Create Chart, offered straight after, opens the chart editor on the new dataset, where the chart type is switched from Table to Bar, category goes on the X axis and revenue into the metrics, and the preview draws a bar for each category.

5. Build a chart

  1. Start a chart

    Choose Create Chart after saving the dataset, or go to Charts → Create Chart, pick a chart type such as Bar and choose Select.

  2. Choose the data

    Under Chart source, choose the dataset. Its columns appear underneath.

  3. Map the columns

    Put a category or date on the X Axis and a number in the metrics. Numbers are added up by default; choose SUM to change it to an average, count, minimum or maximum. The preview updates as you go.

  4. Name and save

    Type a name in the box at the top left, replacing Untitled Bar, and choose Save.

What the video shows: From Charts, Create Chart opens the chart type picker and Bar is selected. In the editor the Orders dataset is chosen as the source, category goes on the X axis and profit in the metrics, and the preview draws profit by category. The chart is named Profit by category and saved.

6. Make a dashboard

  1. Create the dashboard

    Go to Dashboards and choose Create New Dashboard.

  2. Add charts

    The dashboard opens in edit mode. The Charts panel on the right lists your saved charts; add the ones you want, then drag and resize them on the grid.

  3. Save

    Choose Save Changes. You can come back to Edit Dashboard at any time.

A finished dashboard: KPI cards along the top, a trend and a breakdown below.

7. Share it

Use the share button at the top of the dashboard to add people from your workspace, create a public link for people without an account, or embed the dashboard in your own site. Each option is covered in Share, embed and export dashboards.

Next steps