Grapple is a notebook-style REPL for exploring, understanding, and presenting data. It is inspired by the Gorilla REPL and Observables.
Here's an example, a contour plot:
To run the Grapple server,
lein figwheel
You can also start it from a Clojure REPL. First run,
lein do clean, cljsbuild once prod
Then start a REPL and run,
(require 'grapple.server)
(grapple.server/start-server {})
Besides Clojure primitives, there are currently four built-in components that can be rendered:
grapple.table/matrix
, a basic grid of values.grapple.table/table
, a table of values based on a list of maps; headers are the keys of the first map in the sequence.grapple.plot/scatter
, a basic Vega 3 scatter plot.grapple.plot/contour
, a Vega 3 contour plot.