vega-lite
Altair
vega-lite | Altair | |
---|---|---|
16 | 43 | |
4,477 | 8,927 | |
0.8% | 0.8% | |
9.2 | 9.0 | |
6 days ago | 8 days ago | |
TypeScript | Python | |
BSD 3-clause "New" or "Revised" License | BSD 3-clause "New" or "Revised" License |
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.
vega-lite
-
Ask HN: What's the best charting library for customer-facing dashboards?
I like Vega-Lite: https://vega.github.io/vega-lite/
It’s built by folks from the same lab as D3, but designed as “a higher-level visual specification language on top of D3” [https://vega.github.io/vega/about/vega-and-d3/]
My favorite way to prototype a dashboard is to use Streamlit to lay things out and serve it and then use Altair [https://altair-viz.github.io/] to generate the Vega-Lite plots in Python. Then if you need to move to something besides Python to productionize, you can produce the same Vega-Lite definitions using the framework of your choice.
- Vega-Lite – A Grammar of Interactive Graphics
-
Vega-Altair: Declarative Visualization in Python
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
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
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
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
Vega-lite can do this https://vega.github.io/vega-lite/
-
2022 FIFA World Cup finishing position probability per team [OC]
The underlying data is from an online betting site. Data analysis was done in Python and I used Vega/Altair for the visualisation.
-
Plotting
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.
Altair
-
Ask HN: What's the best charting library for customer-facing dashboards?
I like Vega-Lite: https://vega.github.io/vega-lite/
It’s built by folks from the same lab as D3, but designed as “a higher-level visual specification language on top of D3” [https://vega.github.io/vega/about/vega-and-d3/]
My favorite way to prototype a dashboard is to use Streamlit to lay things out and serve it and then use Altair [https://altair-viz.github.io/] to generate the Vega-Lite plots in Python. Then if you need to move to something besides Python to productionize, you can produce the same Vega-Lite definitions using the framework of your choice.
- FLaNK AI Weekly 18 March 2024
- FLaNK AI for 11 March 2024
-
Vega-Altair: Declarative Visualization in Python
Feel free to open an issue to let us know which parts of the documentation you find obscure and if you have suggestions for how to improve them. We did a larger overhaul a few months back and are always open to feedback on how to improve it further! https://altair-viz.github.io/
(disclaimer: I'm a co-maintainer of Altair)
-
Gnuplotlib: Non-Painful Plotting for NumPy
Vega-Altair is pretty great as well. It uses a grammar of graphics that’s slightly different from ggplot, but has most of the same advantages.
https://altair-viz.github.io/
-
Mastering Matplotlib: A Step-by-Step Tutorial for Beginners
Altair - Declarative statistical visualization library for Python.
-
Top 10 growing data visualization libraries in Python in 2023
Github: Altair
- What python library you are using for interactive visualisation?(other than plotly)
- Libs para gráficos
-
If you had to pick a library from another language (Rust, JS, etc.) that isn’t currently available in Python and have it instantly converted into Python for you to use, what would it be?
Yeah, that's one of the main reasons I like altair. It has 10M downloads per month and the newest Git update is from two days ago.
What are some alternatives?
graphic-walker - An open source alternative to Tableau. Embeddable visual analytic
plotly - The interactive graphing library for Python :sparkles: This project now includes Plotly Express!
vega-tooltip - Tooltip Plugin for Vega-Lite
bokeh - Interactive Data Visualization in the browser, from Python
py4cl2 - Call python from Common Lisp
seaborn - Statistical data visualization in Python
plot - A vega-lite DSL for Common Lisp
ggplot - ggplot port for python
lightning - High performance, interactive statistical graphics engine for the web.
plotnine - A Grammar of Graphics for Python
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.
matplotlib - matplotlib: plotting with Python