This are the core concepts in picasso:
(defprotocol Renderable
(render [self]))
(defmulti paint :type)
Clojure/Clojurescript Data => (render) => Picasso DataStructure => (paint) => Notebook
(defn timeseries-plot
"timeseries-plot creates vega spec for a timeseries plot"
[data]
^{:render-with :p/vega} vega-spec)
[:div [:h1 "demo"]
(timeseries-plot data)]
[:div [:h1 "demo"]
[:p/vega (timeseries-plot data)]]
Clojure:
lein test
Clojurescript:
npm install
lein test-js
hiccup
picassohtml
- notebook-ui (needs gorilla-ui)pinkie
notebook-ui (needs pinkie)reagent
notebook-ui (needs pinkie)goldly
not yet implemented. will be in goldlyThis code is licensed to you under the MIT licence. See LICENCE.txt for details.
Can you improve this documentation? These fine people already did:
awb99, Andreas Steffan & JonyEpsilonEdit on GitHub
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close