Resize heatmap canvas appropriately, add another method of querying ddb