generating a nvd3 js based chart to show mem data using hardcoded data