DEV Community

RB9744
RB9744

Posted on AI-assisted

Puppy growth percentiles for 6 dog sizes as CSV and JSON (582 rows, CC BY 4.0)

Most puppy weight charts on the web are pictures. You cannot load a picture into a notebook, and you cannot check where its lines came from.

The records behind the best-known charts are open, though. In 2017 Salt and colleagues published growth charts built from weigh-ins at Banfield Pet Hospitals in the United States (PLOS ONE 12(9): e0182064). That study led to the WALTHAM puppy growth charts, and the University of Liverpool shares its supporting data under CC BY 4.0.

We turned those records into one small table and put it on GitHub: https://github.com/RB9744/dog-growth-percentiles

What is in it:

  • 582 rows: each size group has a row for every week of age between 8 and 104
  • six size groups by expected adult weight: toy (under 6.5 kg), small (6.5 to 9), medium (9 to 15), large (15 to 30), extra large (30 to 40) and giant (over 40)
  • five percentiles of body weight in kg: P10, P25, P50, P75 and P90
  • CSV and JSON, no dependencies

How we built it: only check-ups and healthy-pet visits where the vet noted a normal body condition went in. That filter kept 73,694 dogs and 124,316 of their weigh-ins. For every week of age we took the five percentiles, then smoothed each line so that it cannot fall from one week to the next.

A few values from the median line:

  • toy: 1.23 kg at 8 weeks, 3.63 kg at one year
  • medium: 2.27 kg at 8 weeks, 7.30 kg at 26 weeks, 9.48 kg at one year
  • giant: 6.12 kg at 8 weeks, 27.14 kg at 26 weeks, 40.94 kg at one year and 46.31 kg at two

Quick start:

import pandas as pd
url = "https://raw.githubusercontent.com/RB9744/dog-growth-percentiles/main/data/dog-growth-percentiles.csv"
df = pd.read_csv(url)
large = df[df.size_group == "large"]
large.plot(x="age_weeks", y=["p10_kg", "p50_kg", "p90_kg"])
Enter fullscreen mode Exit fullscreen mode

Please read the limits before you use it. The lines describe how the dogs in the records grew. They are no growth standard, and nobody should diagnose a puppy with them. They also differ from the WALTHAM charts. For those, a dog had to stay in ideal condition until it was 3 years old, and males and females got their own charts. Here both sexes share one line. Dogs over 40 kg have no chart in the 2017 paper at all, so be careful with the giant group.

The same files are on Kaggle (https://www.kaggle.com/datasets/rbkhanni/dog-growth-weight-percentiles-by-size-group) and Hugging Face (https://huggingface.co/datasets/Rbkhanni/dog-growth-percentiles).

The table runs the puppy growth chart on CritterCalc (https://crittercalc.com/puppy-growth-chart/). And if a puppy worries you, ask a vet, not a table.

Top comments (0)