Refactoring & styling live chart