Why this visualization?
This visualization aims to explore
(1) how much more expensive is the resale price (normalized by floor area for fair comparison) for the remaining lease period
(2) if there is a difference in resale price for different storeys of flats, given the same remaining lease period.
Data
This data is queried from https://data.gov.sg/dataset/resale-flat-prices for the sample of 200 records of the commonly found 4 room HDB flats. This is so that we can visualize the preliminary results.
A scatterplot will allow us to best examine the relationship. By inspecting the distribution of colours and hovering over the points for more details, we can make a few preliminary conclusions that
(1) The resale price drops drastically from 1150 months (96 years and 1 month, occupancy of about 4 years) left to 950 months (79 years and 5 months, occupancy of 20 years). With more retrieved points, we can calculate what might be the longest occupancy period for an owner to sell the flat before the flat value decreases drastically. A boxplot might illustrate this better with the median resale prices. However, it may require further binning (which may introduce some bias due to the choice of the bin size and processing) and we are also not able to examine the effect of storey range on the resale price at one glance.
(2) There seems to be no clear relationship between the resale price per square meter for the different storey ranges (as seen from the distribution of colours of the circles) for flats with the same remaining lease period. High storey flats are sold at both high and low resale prices (e.g. 825 months left).
This interactive graph is designed by Ong Kian Eng using d3.
Graph of HDB flat resale price VS remaining lease period
Hover over the points to view more details of the flat.