Genericizing pivot data function.

Changing from getting pivot data specifically formatted for visual facet functions, to just returning raw pivot data.