Jos L.

asked • 09/20/15

Java Programming

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.
swallow 10
magpie 5
fairywren 7
osprey 2
fantail 3
• 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.

1 Expert Answer

By:

Eric D. answered • 09/21/15

Tutor
5 (3)

Computer Science Career Mentoring and Mock Interview Coach

Still looking for help? Get the right answer, fast.

Ask a question for free

Get a free answer to a quick problem.
Most questions answered within 4 hours.

OR

Find an Online Tutor Now

Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.