Visualization library around Oz
metasourous/oz {:mvn/version "RELEASE"}
bombaywalla/vozi {:mvn/version "0.1.2"}
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 (they currently fail):
$ clojure -A:test:runner
Build a deployable jar of this library:
$ clojure -A:jar
Install it locally:
$ clojure -A:install
Deploy it to Clojars -- needs CLOJARS_USERNAME
and CLOJARS_PASSWORD
environment variables:
$ clojure -A:deploy
Copyright © 2020 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