Coordination Number Histograms
Visualize coordination numbers in crystal structures using different bonding strategies. The coordination number (CN) is the number of nearest neighbors around each atom. The structure viewers color each atom by its CN and show a discrete color bar legend (bottom-right) with one labeled segment per integer CN value. Click a segment to hide atoms with that CN; changing the strategy updates both the histogram and the bar.