Build your first dashboard and widget
Use the foot-traffic dataset from the previous lesson to chart the total people count by region and complete your first dashboard.
Having data isn't enough — if it isn't visible, it rarely makes it into decisions. The fastest way for an analyst to create value is to put a small widget on top of their own dataset. This lesson takes you through that one widget end-to-end.
Create a dashboard
- Click Dashboard in the left sidebar and choose Create dashboard.
- Select the collection you created in the previous lesson, then click Continue.
- In the editor, click the name in the upper-left and enter a name that reflects the analysis topic, such as
Regional foot traffic. - Click Settings (the gear icon) in the upper-right to edit the alias, description, and tags. If you enter any details, click Save in the settings dialog.
The editor starts with an empty canvas. Add widgets from Quick add in the center or from the Widget library on the left.
Add one widget
For this lesson, select Bar chart under Quick add. You can also click Visualizations → Bar chart in the left Widget library or drag it onto the canvas.
Once the widget lands on the canvas, the configuration panel opens on the right.
- Analytics source: Pick the
Regional daily foot trafficdataset you created in the previous lesson. - Data mode: Leave it on Simple mode for now. Query mode comes in the next lesson.
- X-axis field: Choose
region. - Y-axis field: Choose
people_count, then select Sum under Aggregation.
The chart should show the full-year total for each of the eight regions. Give the widget a descriptive name such as Total foot traffic by region. In the next lesson, the date range selector will recalculate these bars for a selected period.
Each selection is reflected on the canvas immediately. Click Save in the upper-right to save the dashboard and add it to the left collection tree.
Self-check
- Does the dashboard save and appear as a resource in the collection tree?
- Does the bar chart show eight regions on the X-axis and the sum of
people_counton the Y-axis?
Next lesson
You did this one in simple mode, but the place analysts most often get stuck is the data configuration. The next lesson covers per-chart-type data shapes and query mode.