I've been working on a site that requires a graph to show some data, and the way the data is shown is like this:
I was wondering if anyone knew a correct formula for this graph, along with having the distinct values etc. At the moment I am doing this:
$hitspercent = @round(($hits / $totalinfo) * 100);
$uniquespercent = @round(($uniques / $totalinfo) * 100);
I am trying to make it so the values are rather distinct, so the largest value is at the top of the graph, and smallest is at the bottom, not necessarily half way.

$hits?$as anS. it struck me as funny for some reason.