refactored to move color selection into function
Merge branch 'master' of https://github.com/rcc-uchicago/ling-viz