Coding the Lifestack Project

Published June 8, 2020 | #website

Opening Thoughts

Slept late last night - cracking my head over the issues below. Not a terribly productive day, but I had been somewhat looking forward to continuing on the project. Ended up reading a light book on military history before bed, delaying bedtime that little bit more…

Cracked Heads and Eye Bags

Ran into several issues while doing this.

  1. d3.js library was initially not working with some demo code. Resolution: setting the right version of d3. As it turns out, there were major changes in how data is imported between version 4 and version 5.
  2. Unsure of how to navigate the hugo structure and host data files statically. Resolution: host the static dataset on github. Call it in the raw format in javascript. Saves the cost having to host it on netlify too (every bit counts!).

Code blocks:

Literature: