Add chart to query pages and some styling