Worked on database queries and added base visualization functionality