You would probably need a wrapper script to do this. The script could periodically clear the screen and call "barchart" with the new input data, re-rendering the chart from scratch.
"barchart" is a very simple shell script that doesn't do much on its own.