Statistics in graphs and diagrams