As a person who had a pet with a chronic illness I think that chart is pretty good.
Over the 7 years we treated our dog for Addison's disease I estimate that we spent about $12,000 on vet visits and meds. In the 3 years before that there were the regular vet visits, spaying, etc., so say another $1,000 for a total of $13,000 over the 10 year life of the pet.
My very healthy 8 year old dog has cost us next to nothing at the vet -- neutering, shots, allergy meds so maybe $1,500.
Our average between those two dogs would be right in line to what that chart says is average for vet/meds costs.
The things we don't use on that list, like grooming, are easily offset by things we do use, like a kennel, the extra costs of a dog friendly hotel room, pet deposits in rental properties.
They also didn't factor in the cost of the dog itself. Here, adopting from a shelter can set you back $250 easily.
In my experience that chart is pretty accurate