Added chart and made it react to real-time updates.