Slider with a bar chart based on the rent or buy calculator by Mike Bostock, Shan Carter and Archie Tse