initialize charts and display on home page
refactor charts