---
title: "Pivot table animated icon"
description: "Pivot table animated icon (Tables & analytics). The body value bar winds back and turns a quarter turn from row orientation to column orientation inside the headed table."
canonical: https://generativeicons.com/icons/pivot-table/
---

# Pivot table animated icon

The body value bar winds back and turns a quarter turn from row orientation to column orientation inside the headed table.

- Id: `pivot-table`
- Category: Tables & analytics
- Search terms: crosstab, cross tab, transpose, rows to columns, swap axes, summary table, data summary, aggregate data, reshape data
- Two states: rows to columns, played forward and back
- Styles: outline, solid, duotone; outline weights 1.5, 2, 2.5 (any from 1 to 3); motion light or strong
- File: https://generativeicons.com/assets/pivot-table.lottie (dotLottie, 7459 bytes, sha256 3cffe01a872fbfc7c7b1033fcb6a6f4eb1ba284141ff8a023779b809db9048d3)
- License: MIT

## Install

```sh
npm install @lottiefiles/generative-icons-runtime
npx generative-icons init
npx generative-icons add pivot-table
```

## React

```tsx
// npm install @lottiefiles/generative-icons-react
'use client';
import { AnimatedIcon } from '@lottiefiles/generative-icons-react';
import icon, { src } from './generative-icons/pivot-table.mjs';

export function PivotTableIcon() {
  return <AnimatedIcon icon={icon} src={src} size={32}
    color="#ffffff" variant="outline" weight={2}
    motion="light" theme="dark" />;
}
```

## JavaScript

```js
import { createIcon } from '@lottiefiles/generative-icons-runtime';
import icon, { src } from './generative-icons/pivot-table.mjs';

const handle = await createIcon(canvas, {
  icon, src,
  color: '#ffffff', style: 'outline', weight: 2,
  motion: 'light', theme: 'dark'
});
button.addEventListener('click', () => handle.play());
// On removal: handle.destroy();
```

More: https://generativeicons.com/icons/pivot-table/ · https://generativeicons.com/api/icons/pivot-table
