There's a few innovative approaches to this, some of the done in real time. The "histopyramid" approach is used in the demoscene, and it's explained in the Fairlight rendering secrets talk:
https://www.youtube.com/watch?v=ZiPGd3DDfMUIt's maybe not suited to billions of points, but it's a decent start.