How can I plot Top 5 and bottom 5 in a single visual

Hi Team,
Any idea how can I plot a top 5 and bottom 5 customer in a single visual.

Thanks & Regards
Biswajit Dash

I would create a calculated field using dense_rank and then apply a filter to the visual to select only the rank values that you want to include in the visual.