A simple scatter plot created in d3.js with around 140 lines of view code. Used backbone.js to keep the view and the data (model) separate (view uses d3.js to render the svg element). This combination worked out very well.
View source and start hunting down the source for your reference ;)