mp3_hockey_stats contains a list of NHL teams and their goals in the 2018-19 season. Write a program in Java to read in
Posted: Tue Jul 12, 2022 8:28 am
mp3_hockey_stats contains a list of NHL teams and their goals in the 2018-19 season. Write a program in Java to read in the data from the file and display the number of goals for each team using a horizontal bar chart. The length of the bar should correspond to the number of goals. Scale the length proportionally so the bar chart fits on the screen. The bar should be automatically resized when the window is resized.
The file is named mp3_hockey_stats.txt and reads:
You bar chart should look something like this:
\begin{tabular}{c|l} Toronto & \\ Boston & \\ Los Angeles & \\ Detroit & \\ Nashville & \\ Winnipeg \end{tabular} Tampa Bay
The file is named mp3_hockey_stats.txt and reads:
You bar chart should look something like this:
\begin{tabular}{c|l} Toronto & \\ Boston & \\ Los Angeles & \\ Detroit & \\ Nashville & \\ Winnipeg \end{tabular} Tampa Bay