As
@Darth Equus alluded too, the cartoon may have been more accepted than the actual game itself. The 80s saw a significant religious push back against D&D. There was even a movie about a terrible incident that fueled the cult hysteria (Mazes and Monsters). And I remember being given a book to read so I would know the "truth" about D&D (Playing With Fire).
Personally, while I found the cartoon somewhat enjoyable, it actually bothered me more as a D&D player. Because the behavior of the characters seemed odd. Like the Cavalier (which wasn't even a class choice as I recall at the time, but I could be wrong) never picked up a weapon. He just used his magic shield that the dungeon master gave him.
None of the characters picked up anything to use beyond the one item that they were given at the start by the dungeon master.
I did like the bow that the ranger had and overall I enjoyed the show. But it was also sort of like the old A-Team show from that same time period. I don't recall anyone being killed in the show.
I think the concept is interesting, but I don't think I particularly liked the story episode writing generally.
But from what I recall, the cartoon seemed fairly popular. But it is also important to remember that it was a different time. When I was a kid, we had like maybe a dozen tv channels. And many people still didn't have cable tv. So your options could be pretty limited. I remember having maybe 2 or 3 channels airing cartoons and that was primarily on Saturday morning.
Less choices is also a factor.