• Stars
    star
    123
  • Rank 290,145 (Top 6 %)
  • Language
    Clojure
  • License
    Eclipse Public Li...
  • Created over 10 years ago
  • Updated over 9 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Data visualisations using Om and JavaScript libraries

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.