Implemented the distribution diagram graphics.