Group and SubGroup Visualizations

I'm trying to create a visualization of the top 5 error codes for each customer. Let's assume that every log entry has customerID and errorCode.

Is there a way to group the data in a visualization so I get something like -

Customer 1
404 = 3
401 = 5
505 = 10

Customer 2
404 = 6
401 = 2
505 = 1

@Alan_Home, what type of visualization are you looking for to showcase this information?

Here are a couple quick examples:

You can do a single visualization with multiple pie charts:

Or a single pie chart to combine all info:

Or a simple data table: