# Chart Line

> A multi-series line and area chart built from plain data rows, with animated draw-in lines, halftone fill patterns, a snapping crosshair tooltip and a toggleable legend.

- Author: [mirukullacode](https://21st.dev/@mirukullacode)
- Library: mirukullacode
- License: MIT
- Tags: Data Visualization, Analytics, Area Chart, Chart, Line Chart
- npm dependencies: motion
- Live preview: https://21st.dev/@mirukullacode/components/chart-line

## Install

```bash
npx shadcn@latest add "https://21st.dev/r/mirukullacode/chart-line?api_key=$API_KEY_21ST"
```

Requires a 21st API key (generate one at https://21st.dev/mcp) passed as `API_KEY_21ST`. Free accounts get a limited number of installs per day; unlimited on a paid plan — see https://21st.dev/pricing.

Full component directory: https://21st.dev/llms.txt · More like this: https://21st.dev/community/components/s/data-visualization.md
