Interactive R data visualization in the browser using WebR (R in WebAssembly) and ggplot2 (the best charting library ever).
A web application that runs R code directly in your browser - no server required. Features live code editing, CSV upload, and interactive plots. Try it online at quesmaorg.github.io/webr-ggplot-playground.
For more context, see our recent blog post on sandboxing AI-generated code.
MIT License. Vibe-coded by Piotr Migdał from Quesma.
Prerequisites:
- Node.js 18+
- pnpm
# Clone repository
git clone https://github.com/QuesmaOrg/webr-ggplot-playground.git
cd webr-ggplot-playground
# Install dependencies
pnpm install
# Start development server
pnpm dev
# Build for production
pnpm build
- Open http://localhost:5173 in your browser
- Select an example or write your own R code
- Upload CSV files via drag & drop
- Click "Run Code" to execute
- WebR - R in WebAssembly
- Vue 3 + TypeScript
- Vite - Build tool
- Monaco Editor - Code editor