There's a note below the second chart. They're talking about the value of producing these over a period of time.
Coins last much longer, 25 years compared to 6 years for a dollar bill. So, how much do they really cost in the long run is what showing in the second chart.
Basically, despite the fact that bills last 6 years, it's still cheaper to replace them.