Skip to content

Commit 43f8d35

Browse files
committed
Update README.
1 parent 1ea49d8 commit 43f8d35

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ p.style("color", "red");
2121
By convention, selection methods that return the current selection use *four* spaces of indent, while methods that return a new selection use only *two*. This helps reveal changes of context by making them stick out of the chain:
2222

2323
```js
24-
d3.select("body").append("svg")
24+
d3.select("body")
25+
.append("svg")
2526
.attr("width", 960)
2627
.attr("height", 500)
2728
.append("g")

0 commit comments

Comments
 (0)