There are many studies about the prevalence of refractive error among different populations. To see how we can show a table in a graph I will use the Namil study: refractive errors in a rural Korean adult population. In table 2 we can see the prevalence error by age and sex with 95 % confidence intervals (c.i.), being the last line the totals for all the sample population.

I will make a graphic of that table, it´s based on the one from this post but now with two factors and with a total different look.

Some comments on the graphic. The last row are panels for all age groups, the column to the right are for both genders together and the bottom right is for all the sample population, that is why it has narrower c.i., because the population is larger. The other panels are subgroups of the population from the bottom right one.

If we look at that one we can then compare different groups. For example we see that for all the sample population there are more hyperopes than myopes. Within the different groups this is true for all except for the youngest group category (40 to 49 years old men and women) and also for the men over 80, however this age group for men has the smallest sample size with n = 26 for all refractive errors and therefore the largest c.i. You can find other interesting differences between groups, like emmetropes or just how low is the prevalence in all the groups of high myopes (over -6 D). Remember the prevalence of the refractive error here is for a rural population in Korea.

You can find the code to repoduce the graphic here.