# Liveline

> A real-time animated line chart for React on one canvas, for live prices and metrics.

Source: https://tastebase.ehsanulsiam.workers.dev/browse/liveline

free

A real-time animated line chart for React on one canvas, for live prices and metrics.

by Benji Taylor[GitHub](https://github.com/benjitaylor/liveline)[npm](https://npmjs.com/package/liveline)

[visit](https://benji.org/liveline?utm_source=tastebase&utm_medium=referral&utm_content=detail-page)

[https://benji.org/liveline](https://benji.org/liveline?utm_source=tastebase&utm_medium=referral&utm_content=detail-preview)

## Try these

no preview

### [TradingView Lightweight Charts](https://tastebase.ehsanulsiam.workers.dev/browse/lightweight-charts)

Small, fast canvas charts for financial data: candlesticks, OHLC bars, price lines and volume, from TradingView.

no preview

### [microcharts](https://tastebase.ehsanulsiam.workers.dev/browse/microcharts)

Word-sized React charts (sparkline, bar, bullet) that sit inside a sentence or table cell.

no preview

### [Dither Kit](https://tastebase.ehsanulsiam.workers.dev/browse/dither-kit)

Composable React charts drawn with a dithered fill for a retro, printed look, installed as source.

no preview

### [COBE](https://tastebase.ehsanulsiam.workers.dev/browse/cobe)

A 5 KB WebGL dotted globe with markers, the spinning globe on many launch pages.

## For your agent

##### Install

`npm i liveline`

##### Use it for

- a live line chart that animates smoothly as new points stream in (crypto price, server metric)

##### Skip it when

- candlesticks or trading markers: use lightweight-charts
- static charts: use recharts

##### What's inside14 free

- Line
- Candlestick
- Multi-series
- Orderbook
- Momentum
- Value Overlay
- Time Windows
- Reference Line
- Scrub
- Degen Mode
- Loading State
- Empty State
- Paused State
- Theming

##### Facts

**Frameworks**
react

**Styling**
unstyled

**Weight**
tiny

**Accessibility**
weak

**Maturity**
experimental

**License**
MIT

**Price**
Free

##### Alternatives

[TradingView Lightweight Charts](https://tastebase.ehsanulsiam.workers.dev/browse/lightweight-charts)

```
import { Liveline, type LivelinePoint } from "liveline"

const [data, setData] = useState<LivelinePoint[]>([])

<div style={{ height: 300 }}>
  <Liveline data={data} value={latest} color="#3b82f6" theme="dark" />
</div>
```

https://benji.org/liveline

Loading website

[Visit](https://benji.org/liveline?utm_source=tastebase&utm_medium=referral&utm_content=floating-pill)
