progress bar in the terminal for static or streaming data