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.