https://jsfiddle.net/larsac07/t0r8qz9p/ This uses hardcoded start and end date, but have Python-Flask with Mongodb read in via pandas import pandas as pd from pymongo import MongoClient client = MongoClient() db = client.get_database("testing_flask") collection = db.my_collections df = pd....