Hacker News new | ask | show | jobs
by nathanwdavis 4062 days ago
Well written. The topics are explained carefully and the interactive examples are very nice. Thank you Ben!

How did you embed the examples into the post?

1 comments

Thanks!

The examples were done with d3.js, the code for all the graphs is here https://github.com/benfred/bens-blog-code/tree/master/distan...

I'm using the python code to generate a series of json files, one for each artist. I stored them all in S3, and then load them via ajax calls. Its not an elegant solution, but it lets me keep my website statically generated.