Given a set of companies and a revenue number associated with each one, sorted by revenue in a descending manner, I'd like to visualize the subset of those companies that comprise the Top-10% of all revenue.
For example, if the set consisted of 90+ companies...
- Company1 $5 5%
- Company2 $5 5%
- Company3 $2 2%
- Company4 $1 1%
- Company5 $1 1%
- ...
I would expect to get back the companies comprising the Top-10%...
- Company1 $5 5%
- Company2 $5 5%
I know this can be achieved through a data-flow for a fixed set. However, I also want to allow the user to filter the set on-the-fly based on other attributes (e.g. company location), so the set of companies will vary based on various filters. For instance, the user may want to show the companies comprising the Top-10% for the country and then separately the companies comprising the Top-10% for a given state.
- Note: I have found that there are visualizations (e.g., pie & donut charts) for showing the Top-N companies that also allow one to bucket the remaining companies in an "Other" group. However, the goal here is to show the companies that comprise the Top-N%. When working with percentages, the number of companies may vary depending on the filtered set. The result may just be one company or many companies depending on the filtered set.
I have been exploring various Beast Mode approaches but have not yet found a solution given these requirements.
Thanks in advance for any insights.