uPlot.js

Data

charting library

SHOW HN2019

260points
81comments
#128of 2,195 in 2019
Top 6%of 2019 by points

How HN took it

DebatedReal support and real criticism

9 positive, 14 neutral or asking, 0 mixed, 13 critical, out of 36 comments about the project. Thread score -0.07.

Execution: 0 for, 6 againstPerformance: 3 for, 1 againstDesign: 0 for, 3 againstDocs: 0 for, 2 againstIdea: 2 for, 0 against

The thread, comment by comment

Each row is a top-level comment and its replies, in HN's order. Select a cell to open that comment on HN.

positive neutral or mixed critical about another commenter or something else the maker

What HN said

What people liked

  • Very fast rendering of large datasets

    From 2 comments
    • Awesome!! It's been disheartening to see flotjs (which was essentially unmaintained for 5 years) still beat out scores of other charting libraries in terms of raw speed. Over the…
      seanlaff on HN
    • > it can create an interactive chart containing 150,000 data points in 50ms Very impressive in a world of over engineering and over designed charts!
      edf13 on HN
  • Small, lightweight library

    From 1 comment
    • Awesome!! It's been disheartening to see flotjs (which was essentially unmaintained for 5 years) still beat out scores of other charting libraries in terms of raw speed. Over the…
      seanlaff on HN

Objections

  • Benchmarks compare unlike feature sets (apples vs oranges)

    From 1 comment
    • After having a look at the code and the list of "non-features" (which is a rather opinionated list I might add) the "exceptionally fast" part primarily comes from it simply not…
      remon on HN
  • Lacks error messages and input validation

    From 2 comments
    • Under "Non-features that won't be added" it says > No validation of inputs or helpful error messages - study the examples, read the docs. I agree that validation is probably…
      gitgud on HN
    • > no one is paying me to write extra code (or any code, really) Fair enough, I understand the mentality, it's not easy developing and maintaining packages in your spare time...…
      gitgud on HN
  • Documentation is missing or not linked from readme

    From 1 comment
    • > read the docs I would read them if they were linked from the readme :)
      tiborsaas on HN
  • Touch zoom does not work on mobile

    From 1 comment
    • Zooming on my mobile (Chrome) works for dygraphs, but not for uPlot.js. I tried the benchmark example and it doesn't zoom in for me. The other ,,example and API'' demo doesn't…
      xiphias2 on HN

Requests

  • Synced crosshairs across multiple charts

    From 2 comments
    • Would it be possible to have 2 charts with synced crosshairs on this? I have a little open-source application that grabs stats from Elixir nodes and its plotting library is…
      sb8244 on HN
    • Nice, I'm looking forward to trying it out!
      sb8244 on HN
  • Support for SVG output

    From 1 comment
  • Candlestick (OHLC) series support

    From 1 comment
  • Streaming high frequency data support

    From 1 comment
    • Awesome!! It's been disheartening to see flotjs (which was essentially unmaintained for 5 years) still beat out scores of other charting libraries in terms of raw speed. Over the…
      seanlaff on HN

Questions

  • What mechanism makes it fast

    From 1 comment
    • Can you state what's the mechanism that makes it fast? Is this a breakthrough in rendering optimizations or does it introduce smarter data structures? Or is it an accumulation of…
      dbranes on HN
  • How it compares to d3.js

    From 1 comment
    • How does this compare to d3.js? I'm surprised to not see it included in the benchmark comparison table.
      catacombs on HN

Alternatives named

  • Flot

    From 2 comments
    • > Awesome!! It's been disheartening to see flotjs (which was essentially unmaintained for 5 years) still beat out scores of other charting libraries in terms of raw speed. i…
      leeoniya on HN
    • i tested Flot [1] locally and got 351ms/45MB heap vs 45ms/20MB heap for uPlot on this machine. (the numbers in the readme are from another machine that's maybe 20% slower). i'll…
      leeoniya on HN
  • Dygraphs

    From 2 comments
    • Zooming on my mobile (Chrome) works for dygraphs, but not for uPlot.js. I tried the benchmark example and it doesn't zoom in for me. The other ,,example and API'' demo doesn't…
      xiphias2 on HN
    • i had a prototype using https://github.com/mourner/simplify-js and it did a bit better in low quality/low precision mode, but worse in high quality mode. at some point the…
      leeoniya on HN
  • Vega

    From 1 comment
    • Awesome!! It's been disheartening to see flotjs (which was essentially unmaintained for 5 years) still beat out scores of other charting libraries in terms of raw speed. Over the…
      seanlaff on HN
  • ECharts

    From 1 comment
  • d3.js

    From 1 comment
    • How does this compare to d3.js? I'm surprised to not see it included in the benchmark comparison table.
      catacombs on HN

Category, keywords, summaries and labels on this page were made by AI (Thread Reader v2) and not checked by hand. Each point links to the comments it came from.

Add a badge to your READMEShown on HackerShow
[![Shown on HackerShow](https://hackershow.org/badge.svg)](https://hackershow.org/show/21207132)