Skip to content

QuesmaOrg/webr-ggplot-playground

Repository files navigation

WebR ggplot2 Playground

Interactive R data visualization in the browser using WebR (R in WebAssembly) and ggplot2 (the best charting library ever).

WebR ggplot2 Playground Screenshot

What is it?

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.

Installation

Prerequisites:

# 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

Usage

  1. Open http://localhost:5173 in your browser
  2. Select an example or write your own R code
  3. Upload CSV files via drag & drop
  4. Click "Run Code" to execute

Stack

About

WebR ggplot2 & dplyr: Interactive R data viz entirely in your browser

Topics

Resources

License

Stars

Watchers

Forks

Contributors 3

  •  
  •  
  •