This demo uses the excellent JS lib to show a realtime graph of traffic on this server's ethernet port every second for two minutes. It uses XMLHttpRequest() to get the info in JSON from the ipstat() function in this script on the server.

Mouse over a point on the plot to view an individual value.