Create analytics based dashboard


Under app search --> analytics, I can see the analytics related to queries, and clicks. However, these records can't be exported directly from the analytics. Therefore, I want to create a dashboard with top queries and top clicks and be able to export them in CSV format. For this where should I start?