(defprotocol Renderable
(render [self]))
Clojure/Clojurescript Data => (render) => Renderable DataStructure => (render) => 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
This 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