Democrats broadly tend to favor cartoon comedy, like The Simpsons and Family Guy, more than Republicans, which tend to like shows that put them in a good mood and had characters they could identify with. People in the middle were more likely than both groups to favor programming with educational value.

Late night shows, or shows that combine comedy and news commentary, tend to see dramatic changes in their audience’s political leaning depending on the host. For example, the study found that NBC’s “The Tonight Show” became more appetizing to the left when it switched hosts from Jay Leno to Jimmy Fallon.

Last year, an Axios study of Google interest in two programs — HBO’s “Succession” and USA’s “WWE Raw” — found that different sections of the country were interested in each show, based loosely on political affiliations that tend to be linked to certain ideologies, such as liberals on the West Coast and conservatives in the South.