Display data from mysql database in a calendar django

I want to design a calender and display the data from mysql database in django as per the below image:

enter image description here

Here the year values are retrieved from the mysql database.

Any help will be highly appreciated!
Thank You!!