---
title: "More than 60000 elements"
language: "en"
canonical: "https://g6.antv.antgroup.com/en/examples/performance/massive-data/60000/"
version: "5.1.1"
---

# More than 60000 elements

[Live example](https://g6.antv.antgroup.com/en/examples/performance/massive-data/60000/)

[Resource index](/llms.txt)

Provide a DOM element with `id="container"`. The original example source follows.

## Source

```js
import { Graph } from '@antv/g6';

fetch('https://assets.antv.antgroup.com/g6/60000.json')
  .then((res) => res.json())
  .then((data) => {
    const graph = new Graph({
      container: 'container',
      animation: false,
      autoFit: 'view',
      data,
      node: {
        style: {
          size: 4,
          batchKey: 'node',
        },
      },
      behaviors: ['zoom-canvas', 'drag-canvas'],
    });

    graph.render();
  });
```
