Skip to content

Instantly share code, notes, and snippets.

@jasongilman
Created September 9, 2012 14:52
Show Gist options
  • Save jasongilman/3684830 to your computer and use it in GitHub Desktop.
Save jasongilman/3684830 to your computer and use it in GitHub Desktop.
incanter from jruby
(ns clojure_helpers.incanter_helper
(:use (incanter core stats charts)))
(defn view-histogram [values]
(view (histogram values)))
ages = User.all.map(&:age)
clj.view_histogram(Zweikopf::Transformer.from_ruby(ages))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment