Hi HN,
I’ve always been a fan of ggplot2. It’s a fantastic charting library with a powerful grammar that encodes best practices for data visualization. My goal was to make it easily accessible to anyone, without requiring any installation.
Inspired by tools like JSFiddle, I created an interactive environment for R’s dplyr (for data preparation) and ggplot2.
It’s a purely frontend application, meaning everything runs directly in your browser. There’s no backend for computation, and it works on both desktop and mobile.
This project is an open-source offshoot of Quesma Charts. We initially used WebAssembly to sandbox AI-generated code, and while we’ve since moved to a different solution (you can read about the “why” here: https://quesma.com/blog/sandboxing-ai-generated-code-why-we-…), I wanted to share the non-AI part with the community. The stack is WebR (R compiled to WebAssembly) and Vue.js. Much of the code was written with assistance from Claude, though the WebR integration required significant manual effort due to its novelty.
Give it a try!
Playground: https://quesmaorg.github.io/webr-ggplot-playground/
Repo (MIT): https://github.com/QuesmaOrg/webr-ggplot-playground
Comments URL: https://news.ycombinator.com/item?id=45262441
Points: 2
# Comments: 0
Source: github.com