See this example live
You can select how many molecules to use and what the temperature should be.
The Lennard-Jones potential is a simple model describing the forces between a pair of neutral atoms or molecules.
In the graph on the right you can change the force as a function of distance by either changing the depth of the potential well by dragging epsilon up and down or changing the zero point for the potential by dragging sigma left and right.
Wikipedia: Lennard-Jones Potential
source: gist.github.com/gists/1342480
https://d3js.org/d3.v2.js
https://d3js.org/d3-geo.v2.js