Skip to content

cydalytics/HK_Properties_Price_Distribution

Repository files navigation

Hong Kong Properties Price Distribution R Rayshader

Created by cyda - Carrie Lo & Yeung Wong alt text


Please acknowledge team cyda - Carrie Lo and Yeung Wong when using the code

If you find this script is helpful, please feel free to endorse us through Linkedin!

Linkedin:


Project Description

This project is to visualize Hong Kong housing price in 3D plot.

YouTube

Project Details

To check the tutorial article, please click here.

The package used is rayshader. Rayshader is an open source package for producing 2D and 3D data visualizations in R which uses elevation data in a base R matrix and a combination of raytracing, spherical texture mapping, overlays, and ambient occlusion to generate beautiful topographic 2D and 3D maps. To know more about the package, you can refer to the docunment here.

Data were downloaded from census population statistics released from Hong Kong Government and scraped from Hong Kong Property. The pre-processed data are Population Data.xlsx and real_estate_master_df.csv.

To learn how to generate a 3D map plot with rayshader, please see the R script here.

Demonstration

Example of 3D Plot

alt text

alt text