SummaryWidget is an HTML widget which works with Crosstalk to display a single summary statistic. The statistic updates when the Crosstalk selection changes. A SummaryWidget can display the count, sum or mean of one column of selected data. It can also have a fixed filter that selects a subset of the full dataset.

Try the example below. Click the checkboxes, manipulate the slider and click rows in the data table. Watch the summary text update as the data selection changes. The summary text uses four summarywidget instances to show four different summary statistics.

You have selected cars with an average mpg of . The cars with automatic transmission have an average mpg of .

Next steps

Read the Using SummaryWidget guide.