A relatively simple audio spectrum analyzer built using the Web Audio API and d3.js and rendered using canvas. Also made a bright version: Audio Spectrum Analyzer - bright
This was made as part of a series exploring the visualization of audio that was presented at a d3.oakland. A big list of the demos from this series can be found here.
https://d3js.org/d3.v4.min.js