scotthmurray / d3-book

Code examples for “Interactive Data Visualization for the Web”
http://d3book.com
Other
2.4k stars 1.79k forks source link

chapter_13/06_stacked_area.html does not run #31

Closed happytcj closed 6 years ago

happytcj commented 6 years ago

line 77 returns undefined (dataset.columns) which causes line 78 to error out.

This does not seem to be a difference in version of d3 (I am using v5) as I tried using v3 and v4 getting the same results.

scotthmurray commented 6 years ago

Thanks! What browser are you using? Can you post a screenshot?

These examples are intended to work only with D3 v4.x. Could you test it using v4.x (or, specifically, v4.5.0, which is the version included in this release of examples)? Then please also share a screenshot of that, for comparison.

Here's line 77, for easy reference: https://github.com/alignedleft/d3-book/blob/master/chapter_13/06_stacked_area.html#L77

scotthmurray commented 6 years ago

Closing because of no response, and I can't reproduce the issue. @happytcj if you can respond to the above, I'm happy to look into it further!