China's gross domestic product (GDP) posted a growth of 5.2 percent year on year in 2023, data from the National Bureau of Statistics (NBS) showed Thursday.