That chart you posted is simply not correct. I think they confused discretionary spending with total spending.
https://www.nationalpriorities.org/budget-basics/federal-bud...