Get range from svg width
Extract domainOfDates function