# Bar chart

Compare one measure across days and scrub any bar for its value.

- ID: `bar-chart`
- Import: `animui/bar-chart`
- Category: Data
- Runtime exports: `BarChart`, `default`
- Declaration: `types/free/components/bar-chart.d.ts`
- Type provenance: emitted-original-typescript
- Related: sparkline, activity-heatmap, segmented-control

```tsx
import { BarChart } from 'animui/bar-chart';
```

This import example is not a complete render recipe: read the declaration below and its local references for required props, data, callbacks and provider context. Use `animui info bar-chart` to resolve the local declaration graph. Global setup is in `llms.txt`.

```ts
export { BarChart, default } from '../registry/components/bar-chart/bar-chart.js';
export type { BarChartDatum, BarChartProps } from '../registry/components/bar-chart/bar-chart.js';
```
