Refactor single stat view and adopt it across various views