Added a form to the dot_chart view. Trying to simplify hit_api view. Consider using view partial for the form