We report the comprehensive measurement of the Coulomb explosion of the double and triple ionization of N 2 in collisions with slow highly-charged ions. The experiments are carried out with ion beams of different charge states for a given velocity (1 a.u.) and at three different velocities for a given charge state (O 6+ ). By analyzing the kinetic energy release distributions of N 2 2+ and N 2 3+ molecular ions, the effects of projectile velocity and charge state on the population of different molecular states are inferred. We explain such a systematic variation in the population of different molecular states considering the energy deposition to N 2 by the projectile ions.