Ajax-ified the Q1 form's input and made it so that the chart updates using data from the DB. Q1's Flask view uses a hardcoded sql query at the moment..