Theory
A stem-and-leaf diagram splits each value into a stem (leading digit or digits) and a leaf (last digit). For two-digit whole numbers, 2 | 7 usually means 27.
Write one leaf for every observation, including repeated values. Put the leaves in ascending order within each stem. A stem with no observations may still be shown between used stems.
Always write a key, such as 2 | 7 = 27 marks. Without a key, readers cannot know whether it means 27, 2.7 or another scale.
Count all leaves to find the number of values. To find the median, count to the middle observation in order. The range is the largest value minus the smallest.
For decimal data, the key changes: 2 | 7 might mean 2.7. State the unit too when it matters.