Data Visualisation for Melbourne AirBnb investors in D3.js[with Code]

Last month I attended the Quantify Datathon 2017 event. We are given AirBnb data from insideairbnb.com, then we have 5 days to explore and comes up with the model and/or visualization. Here is the final product from my team, Team Gravy.

Continue reading “Data Visualisation for Melbourne AirBnb investors in D3.js[with Code]”

React Modal – The easy way to show a modal without Redux

Creating a modal box (or popup) is not difficult, but also not easy. I spent 2-3 days finding a solution to build a modal in my React project. As my background is from jQuery and pure JavaScript, I was not aware of the possibility for ReactDOM to build a modal. In this post, I will go through the process of building a modal without JavaScript, and how it is solved by “react-modal” component.

Continue reading “React Modal – The easy way to show a modal without Redux”

WordPress VS React – What I learned from my first day with React

It was 3 years ago that I worked with people who used React for the first time. After that, I had many chances to get in contact with React. But I haven’t really write frontend using React until today.

I am quite amazed with the React ecosystem and would like to share my comparison here.

Continue reading “WordPress VS React – What I learned from my first day with React”

[Google Analytics API] How to get data from Google Analytics with Python in Jupyter Notebook (with tutorial file)

Today I found an online tool that can get the stats of the published articles from Google Analytics. That’s how I got interested in Google Analytics API. As I am studying Data Science at the moment, knowing how to do web analytics would open up a lot of new possibilities.

Continue reading “[Google Analytics API] How to get data from Google Analytics with Python in Jupyter Notebook (with tutorial file)”

[Social Share] How to add Share on LINE button

LINE is not only the top messaging app in Thailand, LINE users also share interesting links to each other just like Facebook. Web developers have to find a way to let them share links on the website easily.

Continue reading “[Social Share] How to add Share on LINE button”

[ACF] Solution to Google Maps not showing in ACF

ACF (Advanced Custom Fields) is the plugin that I used on almost every client projects. The Google Maps API used to work perfectly fine on ACF. However, due to the update on Google Maps API, it is now required API Key. This article will show you how to solve this problem.

Continue reading “[ACF] Solution to Google Maps not showing in ACF”

How to install and switch Python version 2.7 <-> 3.5 in Anaconda

I recently had to switch to Python 2.7 since it is required for Algorithms and Data Structure unit. My current installation of Anaconda on my laptop is Python 3.5. This is the step by step solution to switch between two versions.

Continue reading “How to install and switch Python version 2.7 < -> 3.5 in Anaconda”