shutterstock/rickshaw — pull request #439 by abirmingham (2014-06-12 18:01:52+00:00)
Title: Guard against d3 'length' undefined error

Occurs when Rickshaw.Graph.render() is called with no data. Here we
simply check that scenario before calling d3. See issue #438.

This is my naive solution to the issue, however it does fix the issue in my application.