MIP Logo

Dashboard Week – Day 4: Web scraping and Tableau server

This post was originally published on The Data School blog between 2018 and July 2025, before our program was renamed to MIP’s Analytics Career Accelerator. References throughout this article to “The Data School” or “DS” all refer to what is now MIP’s Analytics Career Accelerator. The program, its people, and its commitment to launching outstanding analytics careers remain the same – just under a new name.

If you are having trouble viewing this article, please report it here. 

Web scraping! This is the challenge we were given on day 4 of the dashboard week. The website we need to scraping is the CWUR world university rankings page. Our target is the table in the webpage, and we need to use the table to build a dashboard purely on the Tableau server.

Web scraping workflow

The table we want to scrape is only in two lines of the html script, each of which contains half of the university records. The format and order of the attributes of each university are consistent, which makes our scraping easier. The following is an example of Harvard University.

<td>1</td><td><a href=”2021-22/Harvard-University.php”>Harvard University</a></td>

Thanks to the consistent format, I was able to parse the table without relying heavily on Regex.

My Dashboard and how to use it

You can use the dashboard to compare the ranking between universities. The steps are the following:

  • Select countries you want to look at
  • Adjust the score filter on the right to narrow down the universities
  • Use the lollipop chart to observe scores, world rankings and country rankings.
  • Select the universes you want to compare in the lollipop chart. A chart that compares different types of ranking between the selected university will show at the bottom as the following:

Tableau server experience

I must admit that building dashboards purely on the tableau server is not a very good experience. You often find that some of the functions you often use on the desktop are not available on the server. For example, when you right-click an axis, there is no format option. I look forward to the future that the Tableau server has the same features as the Tableau desktop!

Click here to access the dashboard.

 

Share this post