Blogs

About yield curve, summer 2019, part 1

It’s summer 2019, the so called “yield curve” inversion is on the news, a great (as usual) nytimes inforgraphics is explaining what is at stake, to make it short, it’s about prediction of economic future. The objective of these two posts is to replicate these visuals and to extend to other countries such as France. Inspiration As per NY Times, in A 3-D View of a Chart That Predicts The Economic Future: The Yield Curve :

Continue reading

Visualize Satellite images with Mapbox API

Accessing to satellite images based on geolocalization has many applications in data visualization and data sciences. There are several alternative of services which provide API interfaces which can be integrated in notebooks or articles, for instance : Google Maps, Bings Maps, OpenStreetMap, … You can find free, freemium or premium services. In this post we are going to illustrate a short demo of mapbox satellite API. Mapbox present itself as the “location data platform for mobile and web applications”.

Continue reading

China mainland population density

In an earlier post we mapped the urbanization rate of China at province level. In this post we will go futher by visualizing where Chinese people are living using a gridded population map. We will use the NASA dataset (Population Density Grid, v3 (1990, 1995, 2000)) which consists of estimates of human population by 2.5 arc-minute grid cells. A proportional allocation gridding algorithm, utilizing more than 300,000 national and sub-national administrative units, is used to assign population values to grid cells.

Continue reading

About pollution,particle matters, PM2.5, Beijing vs. Shanghai and other cities - Part 2

In this second part we are going to compare pollutions levels (pm2.5) between the cities of Beijing, Shanghai and Paris. We reused the data extracted in the previous post and we build simple visualisation to compare for each day, which city is the worse. Surprisingly (for french), Paris is not always the bet to live and there are some days, pollution is worse there than Shanghai or Beijing. Overall Process : Get data : from US embassy PM2.

Continue reading

Web-scraping of weather data with rvest package

We have a project aiming at Air Quality Predictions (see other posts on the same topic) from past air quality data and weather conditions. In a previous post we have downloaded air quality data for Shanghai, Beijing, Chengdu, Guangzhou, Shenyang and Paris. In this post we will get the associated weather data using web scrapping. There are several options for weather report website providing historical hourly data for weather station :

Continue reading

GDP Growth and Chinese new year fireworks

Winter 2016 - For the first time ever, the city of Shanghai (and probably of Nanjing) entered the year of the monkey with a very quiet night. For safety and environmental reasons, the usual fireworks and firecrackers hysteria was forbidden downtown by the local government. (read the full story This is a very big cultural change which was implemented very strictly. Fireworks and other noisy traditional firecrackers are used for important events in China, such as weddings, opening of shops or companies and lunar new year celebrations.

Continue reading

About pollution,particle matters, PM2.5, Beijing vs. Shanghai and other cities - Part 1

Pollution in Beijing (and even Shanghai) at the end of 2015 reached terrible levels, there have been a lot of comments in the Chinese and international news about air pollution in China. AQI (air quality index) and PM2.5 (particle matters 2.5 micro gram per cubic meter) are the most popular data used to measure pollution in China which is mainly related to fine particles in the air. We will study in this series of posts the pollution in Beijing, compare it to previous years and to other cities such as Guangzhou and Shanghai, Paris.

Continue reading