vega-lite
ggplot2
Our great sponsors
vega-lite | ggplot2 | |
---|---|---|
15 | 62 | |
4,463 | 6,316 | |
1.5% | 1.2% | |
9.2 | 9.4 | |
5 days ago | 8 days ago | |
TypeScript | R | |
BSD 3-clause "New" or "Revised" License | GNU General Public License v3.0 or later |
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
- 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.
-
Chartist: Simple Responsive Charts in SVG
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/
ggplot2
- ggplot2
- Ask HN: How do you build diagrams for the web?
-
Visualizing shapefiles in R with sf and ggplot2!
ggplot2
- Ask HN: What plotting tools should I invest in learning?
-
Relative frequency of letters in five-letter English words (Wordle aid) [OC]
I got the list of five-letter words from the words package in R, created the QWERTY keyboard grid with base R and tibble, and visualized the data with geom_tile in the ggplot2 package.
-
[OC] U.S. News & World Report Best Colleges: 2002 to 2023
Thanks, it's an interesting idea! I definitely could implement this with scale_fill_gradientn) in ggplot2.
-
Facts about Aaron Boone's Ejections as Manager
I used the ggplot2 package in R to create these figures.
-
Fueling Innovation and Collaborative Storytelling
This might not be at the top of your list, but science fiction often presents advanced data analysis and visualization technologies. Open source data analysis tools such as Python's Pandas and R's ggplot2 have revolutionized the field, making complex data manipulation and visualization accessible to all. In the science fiction novel The Martian, astronaut Mark Watney uses a variety of data analysis and visualization tools to survive on Mars. He uses Python's Pandas to clean and organize data, and he uses R's ggplot2 to create visualizations of his data. These tools allow him to make sense of the vast amounts of data and help him to make critical decisions about his survival.
-
[OC] Visualizing Financial Market Returns Across Many Asset Classes via Heatmaps
Sorry about the slow reply, but the auto-moderator seems to be deleting my comments (for some unknown reason). I will try once more: the geom_tile function in ggplot2.
-
[OC] Forbes List of Highest-Earning Musicians: 1987 to 2021
Visual cues are a much better idea, thanks! Unfortunately, I don't know how to do that in ggplot2, either (I created these figures in R).
What are some alternatives?
graphic-walker - An open source alternative to Tableau. Embeddable visual analytic
Altair - Declarative statistical visualization library for Python
vega-tooltip - Tooltip Plugin for Vega-Lite
tmap - R package for thematic maps
py4cl2 - Call python from Common Lisp
vega - A visualization grammar.
plot - A vega-lite DSL for Common Lisp
dplyr - dplyr: A grammar of data manipulation
lightning - High performance, interactive statistical graphics engine for the web.
worldfootballR - A wrapper for extracting world football (soccer) data from FBref, Transfermark, Understat and fotmob
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.
glue - Glue strings to data in R. Small, fast, dependency free interpreted string literals.