more work on nvd3 chart