finish Index page. Write JS to resize charts on viewport