N-body analysis and visualization