Back to dashboards
ComponentChartFree

Realtime Line Chart React component

A live streaming line chart: a new reading every second glides in from the right, the scale eases to fit, readings over the alert threshold turn the line red, and a pulsing live badge, pause button and current / average / peak / alerts stats sit above it.

About the Realtime Line Chart component

Realtime Line Chart is a live monitor: a new reading arrives every second and glides in from the right while the scale eases to fit, so it feels smooth instead of jumpy. Readings over the alert threshold turn the line red, and the current value is tagged on the axis.

A pulsing Live badge, a Pause button and stats for the current value, window average, peak and number of alerts sit above it. It only ticks while it's on screen and the tab is visible.

When to use it

Use it for API latency and error rates, server CPU or memory, active users, order or event throughput, IoT sensors and trading tickers.

It shows the last minute or so; for history over hours or days, use a regular line chart with a range picker.

Installation

Add the Realtime Line Chart component to your project with the shadcn CLI. It lands in components/realtime-line-chart.tsx as plain React + Tailwind CSS source you own and can edit.

Install
Copied!
npx shadcn@latest add @reactframe/realtime-line-chart

Or copy the source by hand and install its dependencies:

Install
Copied!
npm install clsx tailwind-merge

More Chart components

Neon Pulse Line Chart
Free
Bullet Chart
Free
Marching Ants Line Chart
Free
Streamgraph
Free
Ghost Trail Line Chart
Free
Radial Bar Chart
Free