Added calcPercentViz().