Hands-On Tutorial: In-Database Charts

When we create charts on database datasets, the summary statistics used to build the charts can be computed in-database.

  • In the customers_enriched dataset, click the Charts tab.

  • Drag pages_visited_avg to the X axis and Count of records to the Y axis in the default bar chart.

At the moment, the chart is based on a sample of the data.

  • Navigate to the Sampling & Engine tab of the left pane.

  • Select In-database as the execution engine and click Save.

In this case, the shape of the bar chart is essentially unchanged, but when the sample is not representative of the full data, using the full dataset can be illuminating, and using the in-database engine can speed your results.