A graphical test for the significance of differences between frequencies from different samples