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
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).
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.
Open Databases
In the left sidebar choose Databases, then Connect Database.
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.
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.
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.
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 *.
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:
SQLSELECT 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.
Choose Dataset
With the query in the editor, choose Dataset in the toolbar above it.
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.
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.
5. Build a chart
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.
Choose the data
Under Chart source, choose the dataset. Its columns appear underneath.
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.
Name and save
Type a name in the box at the top left, replacing Untitled Bar, and choose Save.
6. Make a dashboard
Create the dashboard
Go to Dashboards and choose Create New Dashboard.
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.
Save
Choose Save Changes. You can come back to Edit Dashboard at any time.
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.