---
title: Row Selection
description: How to select rows in Data Table, Statistics, and Graph Builder, and how selection state is synchronized across tabs.
priority: 0.6
---

# Row Selection {#row-selection}

Row selection state is synchronized across tabs within a project. Selecting rows in the Data Table reflects the same selection in the Statistics tab and Graph Builder. Selecting rows in Graph Builder highlights them in the Data Table as well.

You can select rows that appear to be outliers to see where they fall on graphs, or highlight only data meeting certain conditions.

## Selection Methods {#selection-methods}

### Data Table {#data-table}

In the [Data Table](data-table), click rows to select them.

- **Single row**: Click a row to select it. Any existing selection is cleared. If exactly one row is selected, clicking that row again clears the selection
- **Range selection**: Hold Shift while clicking to select a contiguous range from the previously clicked row
- **Add/remove**: Hold Ctrl/Cmd while clicking to add to the existing selection. Ctrl/Cmd+click a selected row to deselect it
- **Clear row selection**: Click the Clear rows button in the [Selected Rows](selected-rows) tab

### Graph Builder {#graph-builder}

[Graph Builder](graph-basics) supports selection methods that vary by graph type.

**Click selection** -- Click data points, bars, or bins to select. Hold Ctrl/Cmd while clicking to add to the selection.

**Rectangle selection** -- Switch to Select mode using the buttons in the top-right corner of the graph, then drag to select.

<!--
  The following SVG icons are copied from src/app/components/common/InteractionModeToggle.tsx.
  Update here if the source is changed.
-->

- <svg width="16" height="16" viewBox="0 0 16 16" fill="none" style="vertical-align: middle;"><path d="M8 1L6 3h1.5v4.5H3V6L1 8l2 2v-1.5h4.5V13H6l2 2 2-2H8.5V8.5H13V10l2-2-2-2v1.5H8.5V3H10L8 1z" fill="#666"/></svg> **Pan mode**: Drag to pan the graph (default)
- <svg width="16" height="16" viewBox="0 0 16 16" fill="none" style="vertical-align: middle;"><rect x="2" y="2" width="12" height="12" rx="1" stroke="#666" stroke-width="1.5" stroke-dasharray="3 2" fill="none"/><path d="M5 5h6v6H5z" fill="rgba(102,102,102,0.2)"/></svg> **Select mode**: Drag to select a rectangular range

**Clearing selection** -- When rows are selected, a Clear selection button (×) appears in the toolbar at the top right of the graph. Click it to clear the selection. The Clear rows button in the [Selected Rows](selected-rows) tab also clears the selection. Clicking a selected element without modifier keys switches to selecting that element only.

Double-click a data point or bar to open a Filtered Data tab showing the matching rows.

### Statistics Tab {#statistics-tab}

You can also select rows from histograms and scatter plot matrices in the [Statistics](basic-statistics) tab.

- Click a histogram bar to select rows within that bar's range
- In the scatter plot matrix, drag to select points within a rectangular range. No mode switching is needed
- Hold Ctrl/Cmd while clicking to add to the selection
- Double-click to open a Filtered Data tab
- Click the Clear selection button (×) shown at the top right of the graph to clear the selection

## Tabs Related to Selection {#tabs-that-reflect-selection}

| Tab | Behavior |
|-----|----------|
| Data Table | Highlights selected rows with a background color |
| Statistics | Highlights selected rows on histograms and scatter plot matrices. Statistics are computed on all rows after filtering |
| Graph Builder | Highlights selected rows. In scatter plots, unselected points become faded. In bar charts, the selected range is drawn as a colored overlay |
| [Selected Rows](selected-rows) | Displays only the selected rows in tabular format. Appears automatically when rows are selected |
| [Filtered Data](filtered-data) | Opens on double-click of a data point or bar, showing the rows that data point or bar represents in a table. It does not depend on row selection state; clearing the selection does not change what it shows |

## Relationship with Filters {#relationship-with-filters}

Data Table [filters](data-table#filter-feature) and row selection are separate operations. Filters narrow the rows available for display and analysis. Row selection highlights specific rows within that filtered set.

When a filter is active in the Statistics tab, statistics are computed on the filtered rows only. Row selection does not affect statistics computation; it is reflected only as highlights on graphs. To view statistics for specific rows only, use a [filter](data-table#filter-feature) to narrow the data.

## Saving Selected Rows {#saving-selected-rows}

Row selection state is not saved in the project file. Selections are cleared when you close the project. To reuse selected rows later, save them as a [derived dataset](datasets#derived-dataset).

- **Selected Rows tab**: When rows are selected, the Selected Rows tab displays them. Choose **Save as Dataset** from the menu button (⋮) to save as a derived dataset.
- **Filtered Data tab**: The Filtered Data tab opened by double-clicking also has a **Save as Dataset** button.

A derived dataset saved from the Selected Rows tab references the source data by row index. If reloading the source data adds or reorders rows, the saved dataset may reference different data.

Saved derived datasets can be analyzed in other tabs like any regular dataset. For details, see [Selected Rows](selected-rows) and [Filtered Data](filtered-data).

## See also {#see-also}

- **[Selected Rows](selected-rows)** -- Tab showing currently selected rows
- **[Filtered Data](filtered-data)** -- Tab showing rows matching a filter condition
- **[Datasets](datasets#derived-dataset)** -- Details on derived datasets
