News for hackers. Stuff that matters.
Re:C2: Clojure(Script) data visualization by nkh on Friday May 04, 2012 @02:32PM (#3929694)
Hey Kevin, what led you deprecate cljs-d3 in favor of C2? In your Clojure conj talk, you mentioned a JS implementation change caused your code to break. Was that the main motivation, or where there other reasons?
Re:C2: Clojure(Script) data visualization by lynaghk on Friday May 04, 2012 @05:17PM (#3930398)
We needed it working on the JVM.

Also, it wasn't clear how to wrap D3's functions in a consistent way w.r.t. data handling. For instance, D3 has a histogram calculator that will bin your data--should that return a Clojure map/vector (so you can use those densities in ClojureScript) or should it return the plain JavaScript construct (so you can pass directly to other D3 functions).

It wasn't something that I thought much about at first, but the DOM-representation as hiccup vectors instead of chained syntax is a huge win because it makes mapping data to hierarchies much easier than in D3.