Visualising states of matter at a molecular level