How to create visualisation of collection data?

Hi,

I would like to create charts based on my database collections and display them on the site realtime. E.g. there have been 10 people signed up, 6 said they were interested in coding, 4 said they are interested in design. And I want to show in e.g. a pie chart on my site that up to this moment, that’s the split of interests of the total number of users. How do I do that using Wix code?