# uPlot

> Tiny, extremely fast canvas time-series charts (about 50KB, millions of points).

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

free

Tiny, extremely fast canvas time-series charts (about 50KB, millions of points).

by Leon Sorokin[GitHub](https://github.com/leeoniya/uPlot)[npm](https://npmjs.com/package/uplot)

[visit](https://github.com/leeoniya/uPlot?utm_source=tastebase&utm_medium=referral&utm_content=detail-page)

[https://github.com/leeoniya/uPlot](https://github.com/leeoniya/uPlot?utm_source=tastebase&utm_medium=referral&utm_content=detail-preview)

## Try these

no preview

### [Apache ECharts](https://tastebase.ehsanulsiam.workers.dev/browse/echarts)

Full-featured canvas/SVG charting engine for big data, maps and complex dashboards.

no preview

### [Chart.js](https://tastebase.ehsanulsiam.workers.dev/browse/chartjs)

Simple, popular canvas charts for any stack, with React and Vue wrappers.

no preview

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

Composable SVG charts for React; the engine behind shadcn/ui charts.

no preview

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

Modular, framework-agnostic charts and network graphs from F5, styled with CSS variables.

## Looks that pick it

[Data-dense / terminalfirst pick](https://tastebase.ehsanulsiam.workers.dev/looks/data-dense)

## For your agent

##### Install

`npm i uplot`

##### Use it for

- real-time metrics, logs and observability dashboards
- time series with hundreds of thousands of points that must pan and zoom smoothly
- dev tools and monitoring UIs where speed beats decoration

##### Skip it when

- pie, donut, sankey or other non-XY charts: uPlot is time series and XY only, use echarts
- marketing charts that need animation and polish: use recharts or nivo

##### What's inside2 free

- Line
- Area

##### Facts

**Frameworks**
vanilla, react, vue, svelte, solid, angular

**Styling**
css

**Weight**
small

**Accessibility**
weak

**Maturity**
established

**License**
MIT

**Price**
Free

##### Alternatives

[Apache ECharts](https://tastebase.ehsanulsiam.workers.dev/browse/echarts)[Chart.js](https://tastebase.ehsanulsiam.workers.dev/browse/chartjs)[Recharts](https://tastebase.ehsanulsiam.workers.dev/browse/recharts)

[Compare uPlot with its alternatives](https://tastebase.ehsanulsiam.workers.dev/alternatives/uplot-alternatives)

```
import uPlot from 'uplot'
import 'uplot/dist/uPlot.min.css'

const el = document.getElementById('latency')!
const opts = { width: el.clientWidth, height: 240, series: [{}, { label: 'p95 ms', stroke: '#22c55e', width: 1.5 }] }
const plot = new uPlot(opts, [timestamps, values], el)
```

https://leeoniya.github.io/uPlot/demos/index.html

Loading website

[Visit](https://github.com/leeoniya/uPlot?utm_source=tastebase&utm_medium=referral&utm_content=floating-pill)
