Look at line 106-112 in my example code, and see that I am just getting numbers and drawing a colour onto a canvas based on that number.
You could use some of those numbers to change the Y value of some cubes.
Type “HTML5 Audio FFT Threejs” into your favourite search engine and you fill find more examples.