Pf-chart is a project mainly written in SHELL and JAVASCRIPT, it's free.
A cgi in bash that parses PF log data and visualises it with google chart