The below infographic ranks 114 dog breeds based on the American Temperament Test Society’s temperament test data since 1977. The temperament test measures ‘stability, shyness, aggressiveness, and friendliness as well as the dog’s instinct for protectiveness towards its handler and/or self-preservation in the face of a threat’ by simulating a walk through a neighborhood where daily life situations occur. The dog experiences visual (sudden sights like opening umbrellas), auditory (sounds like gunshots and hidden noises), and tactile (walking on different types of surfaces) stimuli. The exercise also tests their behavior toward friendly, neutral, and hostile strangers.
A dog fails the test if it shows unprovoked aggression, panic without recovery, or intense fear and avoidance. Other dogs are not present during the test, so it does not take into account dog-on-dog aggression.
As of December 2017, 34,686 dogs have been tested; 29,017 have passed and 5,669 have failed, making the pass rate 83.7%. You can see a ranking of the actual breeds at the bottom of the infographic (click to enlarge).