Write a program to compute a [[histogram]] graph. The program should accept frequency data from stdin. The input data should be tab-delimited, two columns. The first column is the label and the second column is the frequency (count / total). All the fequencies should total 100%. The first line will be the column headers, the remaining lines will be data. Print the label in a fields of 18 characters, right justified, the frequency as a percentage (frequency * 100) in a fixed width field of 8 and then a string of equal signs to form the histogram bar. The histogram bars should be between 0 and 50 equal signs where 50 represents the maximum frequency found. You can use the FrequencyTableBytes or FrequencyTableChars project to generate frequency tables then select just the appropriate columns using the ReorderColumns project.
$ ./FrequencyTableChars < some_text_file | ./ReorderColumns 2 4 | ./Histogram