Errata
The errata list is a list of errors and their corrections that were found after the product was released. If the error was corrected in a later version or reprint the date of the correction will be displayed in the column titled "Date Corrected".
The following errata were submitted by our customers and approved as valid errors by the author or editor.
Color key: Serious technical mistake Minor technical mistake Language or formatting error Typo Question Note Update
Version | Location | Description | Submitted By | Date submitted | Date corrected |
---|---|---|---|---|---|
Other Digital Version | ? us-states.json |
Very basically, I followed the example from the Geo Mapping chapter (12). Note from the Author or Editor: |
Anonymous | Oct 06, 2013 | |
us-states.json Chapter 12 |
Confirming Anonymous' submission of the problem with the path for Virginia. Note from the Author or Editor: |
James Roller | Oct 29, 2013 | ||
Ch10 Ch10 |
Example specifies "to apply a 0.2-second transition" Note from the Author or Editor: |
Richard Penman | Feb 21, 2016 | ||
9.3.3 count backwards 4th paragraph |
9.3 Transitions, belong the "Please Do Not delay()" section: Note from the Author or Editor: |
lisongfeng | Apr 09, 2013 | Apr 12, 2013 | |
Page 28 2nd paragraph from bottom |
Mismatch between text "(Note how under �Computed Style� is listed display: block.)" and Figure 3-4, in which "Computed Styles" are folded and the opened "Matched CSS Rules" instead reveals the "display: block" text. Note from the Author or Editor: |
therden | May 17, 2013 | ||
Page 40 1st paragraph |
No big deal, just left off an 's'. Sentence: "All GeoJSON object are JSON objects, and all JSON objects are JavaScript objects." Ought to be: "All GeoJSON objects..." Note from the Author or Editor: |
Cole Jackowski | Dec 07, 2013 | ||
Page 40 3rd paragraph |
Text: "...just know that this is what simple GeoJSON data could look like the following:" Note from the Author or Editor: |
Cole Jackowski | Dec 07, 2013 | ||
PDF, ePub | Page 87 Bar chart image |
The image is supposed to show three different bar chart, each the result of a random dataset. However, the first two charts are exactly the same. Either the random generator is broken, or the same chart got included twice. Note from the Author or Editor: |
Patrick Hubers | Mar 28, 2013 | Apr 12, 2013 |
Page 91 2nd paragraph from bottom |
This statement "There are no additional anonymous function parameters to learn about later" is inaccurate. A third parameter "j" is also supported. Note from the Author or Editor: |
therden | May 20, 2013 | ||
Printed | Page 103 . |
On p. 103 when the data is meant to drive the color of the bar chart, the Note from the Author or Editor: |
Anonymous | Sep 18, 2014 | |
Page 123 nice() method description |
"This tells the scale to take whatever input domain that you gave to range() and expand both ends to the nearest round value. " Note from the Author or Editor: |
zziuni | Jun 29, 2013 | ||
Page 131 first paragraph |
D3 inteprets the ticks() value as merely a suggestion and will override your suggestion with what it determines to be the most clean and human-readable values�in this case, intervals of 100�even when that requires including slightly more or fewer ticks than you requested. Note from the Author or Editor: |
zziuni | Jul 10, 2013 | ||
Page 131 Y not section's first paragraph |
Time to label the vertical axis! By copying and tweaking the code we already wrote for the xAxis, we add this near the top of of our code: Note from the Author or Editor: |
zziuni | Jul 10, 2013 | ||
Page 180 first paragraph |
The transition duration in the css-code (0.3s) differs from the duration mentioned in the next paragraph (0.2s) Note from the Author or Editor: |
Donald Vrakking | May 01, 2013 | ||
Page 221 3rd paragraph |
"...albersUsa is actually the default projection for d3.path.geo(),..." |
zziuni | Aug 22, 2013 | ||
Page 223 Example city CSV with lat/lon |
The latitude and longitude of many of the cities are wildly inaccurate, like placing Chicago in Minnesota, Seattle in Oregon, etc. A more accurate representation has been submitted in pull request: https://github.com/alignedleft/d3-book/pull/3 Note from the Author or Editor: |
Jeff Weiss | Apr 20, 2013 | ||
Page 225 Both diagrams |
Apologies for the duplicate - this supersedes the previous one. Note from the Author or Editor: |
jim_carson | Apr 21, 2013 | ||
Printed | Page 232 6th paragraph |
On page 232 of the first print edition, the term "d3.simplify" is wrapped over two lines. This should be corrected so "d3.simplify" is maintained on the same line. |
Scott Murray |
Apr 11, 2013 | Apr 12, 2013 |
Printed | Page 334 last paragraph |
This paragraph discusses using d3.request, but that is now deprecated. Methods in d3-fetch such as d3.text should be used instead. Note from the Author or Editor: |
Mark Volkmann | Jun 21, 2020 | |
Printed | Page 336 paragraph starting with "As with" |
The sentence starting with "The different" should be "The difference". Note from the Author or Editor: |
Mark Volkmann | Jun 21, 2020 | |
Printed, PDF, ePub, Mobi, , Other Digital Version | Page 545 9th chapter anchor #_interaction_via_event_listeners |
In chapter 9, anchor #_interaction_via_event_listeners, it is said: "D3�s method selection.on() provides a nice shorthand for adding event listeners.". However, code samples above and below use select.on(), for example d3.select("p").on(... Note from the Author or Editor: |
Roy Reveltas | Nov 19, 2013 |