build legend and data selector directly in the comparison js
add change-table function to map view
fix prefix function for column names to handle denominator popping