Scott Murray

Results 44 comments of Scott Murray

@zlw8844 Thanks! Which specific example are you referring to? It would be helpful to have the filename (like `chapter_01/00_example.html`) as well as the book page number that refers to it.

Thanks. Where are you finding the online version? Please share a URL. I suspect you may be referencing an older version of the text.

Ah thanks. Yes, that was my silly example. You don't _have to_ push data into the array the way I did, but you do have to use an array. Which...

Thanks @dung-phan! I suspect that you're using a newer version of D3. The book and examples are written to work with v4.5.0 — if you use a newer version (like...

Thanks @gerardjk! I'm guessing you're right, and this is something that changed about the API in v5 or newer. (The example here are only guaranteed to work with D3 v4.5.0,...

@brentrad Right you are! That's so odd, as I had `d3js.org` in the text, but when you click the link, the `www` is added. I'll pursue with O'Reilly to get...

@waqasm86 Thanks! This is one of the things that changed with D3 v5. If you try the example code with D3 v4.5.0 (included in this repo), it should work as...

Thanks @sfavorite! I have no immediate plans to update the `master` branch here, unless I were to update the book, to prevent confusion for readers. I'm going to leave this...

Thanks for reporting! Yes, this is one of many things that changed with D3 v5.0. (The 2nd edition of the book addresses v4.5.0 only.) I will leave this issue open...

Indeed. Thanks for the heads-up!