News for hackers. Stuff that matters.

scottcheng

Re:Ask and Show HN: Ever coded for love? Willing to share? on Sunday August 09, 2020 @11:10AM (#24100065)
https://an-ocean-apart.vercel.app

I used to be in a long-distance relationship. Like many lovers who were apart, we had lots and lots of phone calls. I made a visualization of them, and gave to her as a gift on Chinese Valentine's Day.

The name "an ocean apart" came from the Julie Delpy song [0] from Before Sunset. Oh I was young and romantic.

[0] https://www.youtube.com/watch?v=ohiVnAyRDAA

Re:Ask HN: What's your quarantine side project? on Saturday May 16, 2020 @12:57PM (#23205094)
I made https://lostjourneys.live, a virtual bot that road-trips around the world in Google Street View and broadcasts its journeys, because I want to travel and see the world so badly!
Re:D3.js 101 - Technical Intro on Tuesday February 05, 2013 @01:10AM (#5169434)
That's just API spec, not syntactically correct JavaScript... The parameters in [] are optional. I.e. you can pass only one array to d3.max, or pass an array and an accessor. Similar with the range API.
Re:D3.js 101 - Technical Intro on Tuesday February 05, 2013 @01:02AM (#5169413)
Beautiful work! Love the shining.
Re:D3.js 101 - Technical Intro on Tuesday February 05, 2013 @01:01AM (#5169407)
Exactly. Thanks bro.
Re:D3.js 101 - Technical Intro on Tuesday February 05, 2013 @12:55AM (#5169390)
I'm the guy who made this presentation. I see a lot of complaints about the two-dimensional layout of slides, so let me say that this was made for a talk, and I put it online so that my audience could play with it when I gave my talk. Also, during my talk, I did lots of real-time demos on that empty playground page and highlighted a bunch of technical details that are not on the slides. Therefore I agree with those who find it confusing that this is definitely not the best reading material for learning d3, but like @bengillies said, it served my purpose as the presenter.

If you are interested in learning d3, there are a bunch of tutorials on the GitHub wiki: https://github.com/mbostock/d3/wiki/Tutorials, and I like this one in particular: http://mbostock.github.com/d3/tutorial/circle.html. Not comprehensive, but very clear on what it covers.

Let me also recommend this talk for d3 starters: http://vimeo.com/35005701. It starts with very basic stuffs (JSON), and has lots of live demos. I kinda learned from it when making this presentation.