Courses / Creating A Fullstack Linktree Clone (Legacy)

Pie Chart For Monthly Views By Device Type (Mobile, Desktop)

This lesson covers creating a pie chart to track which device types are visiting a user's profile over a 30 day period. It's important to note that just like in the original tutorial I did covering Ahoy, the last day of data will be off by a bit.

The reason being, your final day is actually at the beginning of the day I believe. So in order for us to see the mobile views being generated, we'll need to change the get_daily_views_by_device_type end date from:

image.png 43.5 KB

To:

image.png 46.7 KB

Exercises

No exercises in this lesson yet.