plot VS vega-lite

Compare plot vs vega-lite and see what are their differences.

plot

A concise API for exploratory data visualization implementing a layered grammar of graphics (by observablehq)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
plot vega-lite
38 15
3,862 4,463
3.3% 1.5%
9.1 9.2
6 days ago 6 days ago
HTML TypeScript
ISC License BSD 3-clause "New" or "Revised" License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

plot

Posts with mentions or reviews of plot. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-02-25.
  • Vega-Altair: Declarative Visualization in Python
    9 projects | news.ycombinator.com | 25 Feb 2024
    I love Vega(-lite) / Altair, the grammar of graphics plotting system is really great to build any kind of chart even when it wasn't thought through by the authors of the library. There are other wrappers for languages that lack viz libraries, such as Elixir / Livebook [0]

    However, when I used it a couples years back it struggled with large vizs, I think due to Vega(-lite)'s way of embedding the data in the viz artifact.

    Also, interactive is nice but often I just need a quick static plot, and matplotlib is more convenient for this, you can easily see the png in any environment etc.

    These days I'm eager to see an Observable Plot [1] wrapper for Python !

    [0] https://github.com/livebook-dev/vega_lite

    [1] https://github.com/observablehq/plot

  • Observable 2.0, a static site generator for data apps
    17 projects | news.ycombinator.com | 15 Feb 2024
    Good questions.

    1. It’s just JavaScript so you can fetch stuff dynamically too (see https://observablehq.com/framework/lib/duckdb). But yeah, only client-side. (Though see https://github.com/observablehq/framework/issues/234.)

    2. Sure, it’s all open source, I bet you could make that work. Or `yarn deploy` to Observable and configure sharing there (though it wouldn’t let you charge others).

    3. Yup. Which is part of the appeal of model of running data loaders at build time: you can query some private data and viewers would only be able to see the final result set. (The lack of something like this has always been a huge problem for Observable notebooks. You’d make some great query-driven charts and then couldn’t make it public without some awkward manual dance of downloading and re-uploading a file to a fork of the notebook.)

    4. I wish I knew! It’s being tracked here https://github.com/observablehq/plot/issues/1711. Lately there’s been a lot more work on Framework naturally but now that that’s out…

    5. Another good question. We’re definitely interested in tailoring it more to this sort of use case but lots is TBD!

  • Using Deno with Jupyter Notebook to build a data dashboard
    5 projects | dev.to | 17 Jan 2024
    Observable Plot: A library built on top of D3.js used to visualize data and iterate more quickly on different plot chart
  • What website frameworks are used to build these websites?
    3 projects | /r/webdev | 9 Dec 2023
    https://observablehq.com/
  • Yandex open sourced it's BI tool DataLens
    4 projects | news.ycombinator.com | 26 Sep 2023
    Observable Plot [0] is also nice. AFAIU it's the same library powering the visualizations within Observable itself.

    [0] https://observablehq.com/plot/

  • Best React charting libraries for data visualizations
    1 project | /r/react | 27 May 2023
    I liked observablehq plot library: https://github.com/observablehq/plot
  • Bank Failures Visualized
    1 project | news.ycombinator.com | 3 May 2023
  • Observable Plot: A JavaScript library for exploratory data visualization
    1 project | /r/patient_hackernews | 28 Apr 2023
    1 project | /r/hackernews | 28 Apr 2023
  • Observable Plot: The JavaScript library for exploratory data visualization
    1 project | /r/hypeurls | 27 Apr 2023

vega-lite

Posts with mentions or reviews of vega-lite. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-02-25.
  • Vega-Lite – A Grammar of Interactive Graphics
    1 project | news.ycombinator.com | 11 Apr 2024
    1 project | news.ycombinator.com | 26 Jul 2023
  • Vega-Altair: Declarative Visualization in Python
    9 projects | news.ycombinator.com | 25 Feb 2024
    Box zoom would need to be added to Vega-Lite first, and there has been some discussion around it in https://github.com/vega/vega-lite/issues/4742. Bottom line is that there's nothing blocking its implementation, someone just needs to do the work in Vega-Lite. And once released in Vega-Lite, Altair would pick it up automatically with how we generate the Altair API from the Vega-Lite schema.
  • Gnuplotlib: Non-Painful Plotting for NumPy
    5 projects | news.ycombinator.com | 31 Jan 2024
    I also have difficulties with Gnuplot and Matplotlib. I like Vega that allows me to create visualisations in a declarative way. If I really need something special I go with d3.js, which had a really steep learning curve but with ChatGPT it should have become easier for beginners.

    [1] https://vega.github.io/vega-lite/

  • Elixir Livebook is a secret weapon for documentation
    12 projects | news.ycombinator.com | 6 Aug 2023
    To ensure you do not miss this: LiveBook comes with a Vega Lite integration (https://livebook.dev/integrations -> https://livebook.dev/integrations/vega-lite/), which means you get access to a lot of visualisations out of the box, should you need that (https://vega.github.io/vega-lite/).

    In the same "standing on giant's shoulders" stance, you can use Explorer (see example LiveBook at https://github.com/elixir-explorer/explorer/blob/main/notebo...), which leverages Polars (https://www.pola.rs), a very fast DataFrame library and now a company (https://www.pola.rs/posts/company-announcement/) with 4M$ seed.

  • Observable Plot: The JavaScript library for exploratory data visualization
    17 projects | news.ycombinator.com | 26 Apr 2023
    Nice, would be nice to have it integrated in GitHub markdown.

    Looks similar to Vega or Vega-lite(https://vega.github.io/vega-lite/). Definitely as rich as D3.js but gets the job done for simple visualisations.

  • [AskJS] Javascript statistics library with period selection
    1 project | /r/javascript | 3 Mar 2023
    Vega-lite can do this https://vega.github.io/vega-lite/
  • 2022 FIFA World Cup finishing position probability per team [OC]
    3 projects | /r/dataisbeautiful | 20 Nov 2022
    The underlying data is from an online betting site. Data analysis was done in Python and I used Vega/Altair for the visualisation.
  • Plotting
    5 projects | /r/lisp | 7 Nov 2022
    I have a bunch of data that I want to plot. I'm using lisp-stat, which is pretty good, for data frames and analysis. However, lisp-stat uses vega-lite for plotting and to put it mildly, vega-lite is fucking awful.
  • Chartist: Simple Responsive Charts in SVG
    5 projects | news.ycombinator.com | 30 Oct 2022
    I wish the author all the best in developing his library; at the moment it seems quite incomplete, so if you want SVG charts today, I recommend Observable Plot[1] or Vega-Lite[2]

    [1]: https://github.com/observablehq/plot

    [2]: https://vega.github.io/vega-lite/

What are some alternatives?

When comparing plot and vega-lite you can also consider the following projects:

plot-react - React wrapper for @observablehq/plot

graphic-walker - An open source alternative to Tableau. Embeddable visual analytic

blazor-samples - Explore and learn Syncfusion Blazor components using large collection of demos, example applications and tutorial samples

vega-tooltip - Tooltip Plugin for Vega-Lite

echarts - Apache ECharts is a powerful, interactive charting and data visualization library for browser

py4cl2 - Call python from Common Lisp

go-echarts - 🎨 The adorable charts library for Golang

plot - A vega-lite DSL for Common Lisp

d3 - Bring data to life with SVG, Canvas and HTML. :bar_chart::chart_with_upwards_trend::tada:

lightning - High performance, interactive statistical graphics engine for the web.

gonum - Gonum is a set of numeric libraries for the Go programming language. It contains libraries for matrices, statistics, optimization, and more

plot - A node library to display charts in popup windows and save them as pngs. Supports observablehq/plot, vega-lite and plotly out of the box.