Lithium Labs Visualization Components
Recently I've been looking for D3 libraries, and coincidentally Jack Herrington sent in Lithium Labs Visualization Components (GitHub: lithiumtech / li-visualizations, License: Apache 2.0, Bower: li-visualizations). This is a set of D3 visualisations, including Sentiment Wave, Reticule, and Elegant Waves.
It includes some examples written in CoffeeScript and an example application that you can try out locally with preloaded data.
The Zen Approach
Judgement call, the slowest known method is
.join. If you are building something that requires high performance do not use
.join. It's not bad, it's just not performant. The two fastest methods of multiline are one-line strings (no breaks), and in second using the
\character (breaks), with
+(concat) trailing slightly behind. I'll let hard data back me up on this. My personal preference is to use one line for performance (word-wrap exists people), and then
.joinfor non-performant things, like variables and such. Should the line require variables and need to be performant I will use
The author hints that it may become a book, series of talks, or an open source handout -- it's currently MIT licensed.