Histogram in Java and HTML+CSS