Data visualisations using Om and JavaScript libraries
Clojure CSS HTML
Switch branches/tags
Nothing to show
Latest commit 4e0323c Mar 4, 2015 @annapawlicka Remove js libraries.
Permalink
Failed to load latest commit information.
css Add more css. Jun 22, 2014
examples Remove js libraries. Mar 4, 2015
js/images
resources Upgrade Om to 0.7.0 and add api key route. Aug 3, 2014
src-cljs/om-data-vis
src/om_data_vis Upgrade Om to 0.7.0 and add api key route. Aug 3, 2014
.gitignore
LICENSE Initial commit Jun 14, 2014
README.md
project.clj

README.md

om-data-vis

Repo with basic data visualisations based on Om and JavaScript libraries that I used as demo at EuroClojure 2014. Will probably add more examples as needed - it's becoming more of a collection of useful "stuff" :)

  • Chart-http: dimple.js + core.async + Om + compojure + liberator

  • lastfm-chart: dimple.js + last.fm API + core.async

    It requires last.fm API key. Copy your key to:

    resources/lastfm.edn
    

    like this:

    
    {:api-key "65yrtgbdfbd4656457foo")
    

    API key can be obtained here: http://www.last.fm/api/account/create

  • Simple-map: leaflet.js + core.async + Om

  • Draggable-widget: Simple component that wraps other components to make them draggable. Uses core.async.

Build with:

lein cljsbuild once <build-id>

Run ring server (required for chart-http):

lein ring server-headless

To see examples in action, open examples/<id>/index.html in a browser of your choice.