Create a histogram from the output of the diff command. More information: https://manned.org/diffstat.
diff
diff path/to/file1 path/to/file2 | diffstat
diff path/to/file1 path/to/file2 | diffstat -t