tag:blogger.com,1999:blog-279772059074318326.post3793276184449552706..comments2023-12-30T11:14:38.564-08:00Comments on D3.js Tips and Tricks: Adding in zero values into a time series in d3.jsD3 Noobhttp://www.blogger.com/profile/00927635217604611354noreply@blogger.comBlogger2125tag:blogger.com,1999:blog-279772059074318326.post-11036843922062660842014-04-28T11:40:54.209-07:002014-04-28T11:40:54.209-07:00Ahh.... Many thanks. This was not the only part of...Ahh.... Many thanks. This was not the only part of your code I had to think long and hard about :-). It's well out of my comfort zone, but worth the effort. I've made some slight edit above and amended the book as well. Thanks again!D3noobhttps://www.blogger.com/profile/03091573479428198379noreply@blogger.comtag:blogger.com,1999:blog-279772059074318326.post-52853501817317354332014-04-28T07:26:13.693-07:002014-04-28T07:26:13.693-07:00Minor correction: "D3.js implements its own v...Minor correction: "D3.js implements its own version of this function with .map which is used here". This is actually just the standard JavaScript .map function. Since D3 requires IE9 (and above), any code we write using it we can also use the ES5 methods. Unfortunately .find is ES6 so we have to depend on lodash/underscore for that.<br />-explunitAnonymousnoreply@blogger.com