Add column chart to distances page

Clean up some code for distances page
Add functions to make enums pretty