Generate charts on the client-side using nvd3