This could work similar to how the Pageviews Analysis date picker works.
This is done, yay! Check it out at - https://tools.wmflabs.org/grantmetrics/