smallR
R-like analytics in Go → WASM, rendered with D3
Ctrl+Enter to run
Loading WASM…
R Code
Console JSON Value

          

          

        

Interactive Regression Lab

Data generated in the browser. Regression computed by smallR. D3 renders the plot. No server.

Estimated slope
Estimated intercept
Console

          
R code (editable)
Edit the code, then click Run smallR or press Ctrl+Enter.
Hover points to see actual vs predicted.

Statistics & Vector Operations

Explore R's vector operations, statistical functions, and NA handling — with live visualization.

R code (editable)

            

Data Frame Operations

Create and manipulate data frames with R-like syntax.

R code (editable)

            

Strings & Functional Programming

String manipulation, pipes, %in%, apply family, and more.

R code (editable)

          

Time Series Analysis

Generate and analyze time series data with moving averages.

R code (editable)