Fork me on GitHub
#data-science
<
2020-02-10
>
gibb19:02:39

What would be a simple way to visualize a plotted graph with clojure? (library recommendations etc) It's for a simple weight over time tracking with expected & and actual weight over a number of weeks

zane20:02:41

Here's my personal solution to that problem: https://github.com/zane/vega.repl

gibb14:02:15

Thank you zane they both look good, I'll try them out !

metasoarous17:02:18

Thanks for the plug @U050CT4HR!

metasoarous17:02:56

@gbson Both use Vega/Vega-Lite, which means you can create visualizations using either one, and still use them in the other.

metasoarous17:02:19

Vega/Vega-Lite are very concordant with the Clojure philosophy, built by a great team (Interactive Data Lab at University of Washington), and supported in quite a few different contexts (a number of analytics tools are starting to use it, and I think WikiLabs may support as well).

metasoarous17:02:09

You may also want to check out Hanami/Saite to see if that fits your flow.

metasoarous17:02:39

I did a talk on the philosophical relationship between Vega & Clojure here if you're interested: https://www.youtube.com/watch?v=hXq5Bb40zZY

gibb20:02:36

I found gorilla repl, maybe that would be a good fit?

metasoarous17:02:51

ALSO based on Vega 🙂 Though, the gorilla-repl plotting API is not as powerful as Vega-Lite, and not necessarily any easier to use for simple plots (Vega-Lite really is pretty boiled down).

metasoarous17:02:26

I keep meaning to add a namespace for gorilla repl that will make it possible to use vega-lite visualizations in gorilla

jsa-aerial22:02:54

@gbson See Saite https://github.com/jsa-aerial/saite Self contained uberjar. All you need is java8. Grab it, run it, load the examples, start hacking. Far more capable than gorilla.

gibb14:02:50

Thanks, looks great I'll give it a go!

metasoarous17:02:44

Also based on Vega/Vega-Lite 🙂