What is the best UI pattern you can think of for displaying ratio in the filter?

Hi! I believe this depends on the project, but what do you think would be the best UI pattern for displaying ratio in the filter? (e.g. Men 40% : 60% Women)

Probably a single bar or pie