You could find a lot of names that are made of puns in the Harry Potter series. Then, does "Hogsmeade" is either a pun or compound word as well?

Native speaker’s answer
Rebecca
I would consider this more of a compound word than a pun! With the word "hog" and the word "mead"- meaning "meadow" or field. "Mead" is also a fermented drink made from honey. So there's no specific joke or pun related to the name. One could consider the direct meaning to be "pig field". However, the town name "Hogsmeade" functions mostly as <just> a name for the town. Ex: They used honey to make mead. Ex: Did you see the pigs in the field?