added rudimentary real-time updating bar chart