Answer to Question #54846 in Java | JSP | JSF for Josh
I need to write a program that accepts one command line argument, the name of a file containing data to be drawn as a pie chart, and draws the pie chart in a window.
• Sample data file, birds.txt, contains the one-word categories of birds, and the number of each kind.
• The pie chart must use a different colour for each pie segment, and display a legend that shows the labels and the percentage for each.
• Your program should support up to 10 categories.