Why Tk? You could always just use GD::Graph to create the image and then display it on a Tk::Canvas ..
If you're on linux, i recommend taking a look at gnuplot to see it it meets your needs -- for example can generate .ps files that you just open w/ghostview. Completely depends on your GUI requirements.