Skip to content

Commit 4433843

Browse files
committed
bar-1 tutorial: add rule class
this syncs the script with the tutorial text
1 parent df1adee commit 4433843

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

tutorial/bar-1.markdown

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -412,6 +412,7 @@ chart.selectAll("line")
412412
chart.selectAll(".rule")
413413
.data(x.ticks(10))
414414
.enter().append("text")
415+
.attr("class", "rule")
415416
.attr("x", x)
416417
.attr("y", 0)
417418
.attr("dy", -3)

0 commit comments

Comments
 (0)