scotthmurray / d3-book

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

chapter_08/09_time_axis_prettier.html + chapter_07/09_time_scale.html #38

Closed monikarohner closed 5 years ago

monikarohner commented 5 years ago

Hello I'm rather new here, so let me know if my question comes the wrong way. I'm new to d3.js too and I totally enjoy learning with the book. After reading all the comments and changing to d3.js version 4 I still have some issues with "09_time_scale.html" in Chapter 8 and "09_time_axis_prettier.html" in Chapter 9:

The code in question generates 31 empty svg-elements for "09_time_scale.html" or 31 svg-elements with "naked" x- and y-axis for "09_time_axis_prettier.html".

It's rather confusing as I was going through all the steps in the book but can't find the bug. Do other people have the same trouble? I'm using Chrome Browser.

Thank you for looking into it. Mone

monikarohner commented 5 years ago

Just found my own mistake. (As usual {the devil is in the detail }); ;-)

scotthmurray commented 5 years ago

Glad you figured it out! :)

new-machines commented 4 years ago

What was the mistake? Just posted an issue that duplicates this one.