Added samples nvd3 pie, refactor, removed unused/unwanted API calls