How to create normal distribution curve using MongoDB charts?

Hi,
I’m trying to create a normal distribution curve using MongoDB charts, but I couldn’t find anything in the documentation. Can someone from the community help me with this thing?

There isn’t any Charts feature that allows you to do this directly. Can you precompute the values and store them in your collection?

I don’t think I can do that. I’ve millions of records in my collection. And, using aggregation queries will make it slow. So, what can be an excellent way to do this?