The Dancing Men cipher, featured in Arthur Conan Doyle's Sherlock Holmes story The Adventure of the Dancing Men, uses stick-figure diagrams composed of dots (representing 1 to 51 dots per figure) to encode letters. Word boundaries are marked by groups of dots or small crosses.
The cipher is a substitution cipher where each unique figure represents a unique letter. Frequency analysis of the figures (like 'E' being most common) aids decryption, just as Holmes uses in the story.