---
product: "AG Charts"
title: "Large Dataset Interactivity"
description: "AG Charts is optimised to handle , while maintaining full, smooth interactivity. No additional configuration or modules required - it just works out of the box."
framework: angular
version: "14.2.0"
related:
    - title: "Data Configuration"
      url: "https://www.ag-grid.com/charts/archive/14.2.0/angular/data-configuration/"
    - title: "High-Frequency Update"
      url: "https://www.ag-grid.com/charts/archive/14.2.0/angular/high-frequency-data/"
    - title: "Transactions"
      url: "https://www.ag-grid.com/charts/archive/14.2.0/angular/transactions/"
    - title: "Asynchronous Data"
      url: "https://www.ag-grid.com/charts/archive/14.2.0/angular/async-data/"
llms: "https://www.ag-grid.com/charts/archive/14.2.0/llms.txt"
---

# Large Dataset Interactivity

AG Charts is optimised to handle **large datasets with over 1 million points**, while maintaining full, smooth interactivity. No additional configuration or modules required - it just works out of the box.

#### Ordered Data

```ts
// Angular entry point file
import '@angular/compiler';
import { bootstrapApplication } from '@angular/platform-browser';

import { AppComponent } from './app.component';

bootstrapApplication(AppComponent);
```

[Live example: Ordered Data](https://www.ag-grid.com/charts/archive/14.2.0/angular/large-dataset-interactivity/examples/ordered-data/)

In the above example:

- Use the controls to select different series types and data sizes.
- Use the mouse, [Navigator](https://www.ag-grid.com/charts/archive/14.2.0/angular/navigator/) or [zoom controls](https://www.ag-grid.com/charts/archive/14.2.0/angular/zoom/#axis-zoom-controls) to [zoom](https://www.ag-grid.com/charts/archive/14.2.0/angular/zoom/), [scroll](https://www.ag-grid.com/charts/archive/14.2.0/angular/zoom/#scrolling) and [pan](https://www.ag-grid.com/charts/archive/14.2.0/angular/zoom/#panning) the data.

> **Note**
>
> Performance may vary based on your specific use case, environment and hardware.

## How it works

Behind the scenes, AG Charts applies advanced data aggregation techniques, such as the [M4 algorithm](https://www.ag-grid.com/blog/optimizing-large-data-set-visualisations-with-the-m4-algorithm/), to ensure accurate representation across scales. As you zoom and pan, the chart dynamically adapts to the visible range, preserving both performance and clarity.
