Visualization library around Oz
metasourous/oz {:mvn/version "RELEASE"}
bombaywalla/vozi {:mvn/version "0.1.5"}
Make sure a browser is running. And there is nothing listening on the default Oz port of 10666.
Then
(require '[oz.core :as oz])
(require '[bombaywalla.vozi :as vozi])
(def data [{:x 1 :y 1} {:x 5 :y 10} {:x 10 :y 1}])
(def plot (-> (vozi/line-plot)
(vozi/add-data data)))
(oz/view! plot)
You should now see a line plot in your browser.
Run the project's tests:
$ clojure -M:test:runner
Build a deployable jar of this library:
$ clojure -X:jar
Install it locally:
$ clojure -M:install
Deploy it to Clojars -- needs CLOJARS_USERNAME
and CLOJARS_PASSWORD
environment variables:
$ clojure -M:deploy
Copyright © 2020-2021 Dorab Patel
Distributed under the MIT License.
Can you improve this documentation?Edit on GitHub
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close