HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
leeoniya
uPlot
JavaScript2019–2026
leeoniya / uPlot

uPlot

📈 A small, fast chart for time series, lines, areas, ohlc & bars

13Distinct people
38Mentions
0Explicit recommenders
10.6KGitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

📈 A small, fast chart for time series, lines, areas, ohlc & bars

GitHub

Where it is used

No documented product use was verified in the last source check.

What people are saying

No recommendation phrase was found in the indexed comments.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

No other repository is repeatedly linked in the same discussions.

This week on Hacker News

Nov 8–Nov 15 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/15/2026, 4:01:40 AM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by year38 dated mentions

Observed mentions: 2019-10-06 16:56:26 UTC to 2026-04-09 23:32:50 UTC.

0510152019-01-01 00:00:00 UTC to 2020-01-01 00:00:00 UTC (exclusive): 7 mentions; 1 submissions, 6 comments20192020-01-01 00:00:00 UTC to 2021-01-01 00:00:00 UTC (exclusive): 13 mentions; 1 submissions, 12 comments2021-01-01 00:00:00 UTC to 2022-01-01 00:00:00 UTC (exclusive): 5 mentions; 0 submissions, 5 comments2022-01-01 00:00:00 UTC to 2023-01-01 00:00:00 UTC (exclusive): 3 mentions; 0 submissions, 3 comments20222023-01-01 00:00:00 UTC to 2024-01-01 00:00:00 UTC (exclusive): 2 mentions; 1 submissions, 1 comments2024-01-01 00:00:00 UTC to 2025-01-01 00:00:00 UTC (exclusive): 3 mentions; 0 submissions, 3 comments2025-01-01 00:00:00 UTC to 2026-01-01 00:00:00 UTC (exclusive): 1 mentions; 1 submissions, 0 comments2026-01-01 00:00:00 UTC to 2027-01-01 00:00:00 UTC (exclusive): 4 mentions; 0 submissions, 4 comments. Incomplete calendar period.2026*

* An incomplete calendar period is marked with an outlined bar. Its count is not directly comparable with a full period.

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
20192019-01-01 00:00:00 UTC2020-01-01 00:00:00 UTC716
20202020-01-01 00:00:00 UTC2021-01-01 00:00:00 UTC13112
20212021-01-01 00:00:00 UTC2022-01-01 00:00:00 UTC505
20222022-01-01 00:00:00 UTC2023-01-01 00:00:00 UTC303
20232023-01-01 00:00:00 UTC2024-01-01 00:00:00 UTC211
20242024-01-01 00:00:00 UTC2025-01-01 00:00:00 UTC303
20252025-01-01 00:00:00 UTC2026-01-01 00:00:00 UTC110
2026 (partial)2026-01-01 00:00:00 UTC2027-01-01 00:00:00 UTC404

What Hacker News says

13 sources
One other common use for useRef that isn't mentioned here is to bridge your React component with a JS library outside the React ecosystem. For example, if you wanted to instantiate a charting library like uPlot (https://github.com/leeoniya/uPlot) you might instantiate a uPlot object storing state and methods for the chart. You can perform the chart initialization in a useEffect hook, and use a ref to keep a reference to the instance you've created.
In React's UseRef Deep Dive
leeoniya·Mar 13, 2020Submission

Show HN: uPlot.js v1.0 – A fast, small chart for time series, OHLC and bars

Hello again! 5 months and ~400 commits since the initial prototype: https://news.ycombinator.com/item?id=21207132 v1.0 has shipped! - https://github.com/leeoniya/uPlot A non-exaustive list of features/concerns that have been addressed since v0.1.0: - A terse, consistent API, (w/ plugins & hooks) - Timezone & DST handling - Point rendering - Bi-directional zooming - Dynamic data updates (streaming) - Numeric x scales (non-temporal) - Area fills & high/low bands - Dependent scales (°C -> °F) - Cursor sync across charts - Highlight closest series - Axis labeling & positioning - Bars & OHLC (via tiny plugins) - Feature gates for even smaller custom builds A bunch of demos: https://leeoniya.github.io/uPlot/demos/index.html About a dozen brave early adopters helped me weed out bugs, add features, refine the API and co
Read the rest
ntributed demo code. Without them there'd be no v1.0, so thank you. So far there are some cool use-cases. One user renders several hundred hundred-point charts per page - something that's impossible with WebGL or heavier charting libs. There's been a prototype for Grafana panel integration. The author of Phaser [1] is currently taking uPlot for a perf-monitoring test drive while working on the new engine: https://github.com/phaserjs/phaser4-dev :D Also, a shout out to the Chart.js guys, who recently tagged v3.0-alpha which performs 3x better than v2 on uPlot's benchmark, and is the only lib to have made any noticeable headway, let alone multiple factor! cheers! [1] https://github.com/photonstorm/phaser
5 points · Open discussion

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.