Remove inline javascript
User is able to pick between line or bar charts
Define what's required on the form
Keep usage of variable_naming consistent

We were using CamelCase on a single place.
Plot categorical data