Day 14: Why do I move to Utrecht?

Today, I signed the contract for an apartment in Utrecht. Yay! Often people ask me: “Why do you move to Utrecht?” There are so many factors. I like the vibe of the city; I have many friends there; It’s close to Amsterdam; It’s the center of the Netherlands and it has the biggest train stationContinue reading “Day 14: Why do I move to Utrecht?”

Day 13: Adding Animation to Line Charts

Adding animation to the line chart is also different from the scatter plot. Below is how we created the animation for the scatter plot. We set the initial position and the end position of the dot and put the transition between the “cx” and “cy” attributes. The animation I wanted to create is to growContinue reading “Day 13: Adding Animation to Line Charts”

Day 8: Some Improvements

Recently I am following a Fullstack D3 course by Amelia Wattenberger, and I learned something useful to make yesterday’s scatter plot better. 🙂 Nice() First, we can add a nice() function to our axis. This “nice” function will round the domain value on the axis. Let’s see before and after adding “nice()”. Refactoring the XContinue reading “Day 8: Some Improvements”