Fretboard.js
Documentation
Fretboard
Music tools
Examples
Systems
Boxes
Modes
Chords
Tetrachords
Events
Playback
See on Github
Examples / Boxes
See example source
The library comes with many scale systems and boxes.
Connected Boxes
3 Notes per String
CAGED System
Pentatonic boxes