in reply to Graphic Chart

That seems like an overly broad question. In general, you'd be using GD or maybe Image::Magick - however, there's already a lot of sophisticated log analyzing software out there. Check out Webalizer.

Makeshifts last the longest.