Comment by @stani • Hey
amazing, i always wanted to learn how to do the these type of graphs, do you have to go one frame at a time?
Stats
Actions: 0
Comments: 0
Likes: 31
Mirrors: 8
Quotes: 0
Comments
Yup, these end up being around ~2,000 different images that get thrown together for each one. And the underlying datasets end up being around 4-10million rows before logic that keeps the top 10 daily leaderboard because any user who's had an interaction gets the full 365 day dataset even if they only interacted once. That part can be made more efficient and faster for an app potentially, but the animated chart takes around 2 minutes on my Macbook Pro with M1 Max. I also had to opt to not make the chart as nice as I wanted to with Lens logo to make it a bit faster. I would have liked to make this into an open app like the rest, but it's just not performant enough in its current state 😅 which is mostly a symptom of me trying to not spend too much time on it because I'm quite busy with other work atm