Take the chromatic scale starting at B:
B, C, C#, D, D#, E, F, F#, G, G#, A, A#
Apply the same formula/structure of W, W, H, W, W, W, H:
B C# D# E F# G# A#
Now compare the result to the circle of 5ths diagram and you can see it is exactly the same result as what you would see on a musical stave.