Skip to content
This repository was archived by the owner on Feb 6, 2020. It is now read-only.

Commit 5a353aa

Browse files
committedJun 17, 2013
Merge branch 'master' of github.com:sammyt/p3
2 parents 14a6756 + 0f8f4d2 commit 5a353aa

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
 

‎README.rst

+3-3
Original file line numberDiff line numberDiff line change
@@ -104,8 +104,8 @@ Driving the document with data
104104
sel = p3.select('body').create('div').classed('container', True)
105105
sel = sel.create('ul')
106106
107-
update = sel.select_all('ul').data(teas)
108-
update.enter().create('ul')
107+
update = sel.select_all('li').data(teas)
108+
update.enter().create('li')
109109
110110
update.text(lambda n, d, i: "lovely %s tea" % d)
111111
@@ -132,4 +132,4 @@ Driving the document with data
132132

133133

134134
.. _d3: http://d3js.org/
135-
.. _lxml: http://lxml.de
135+
.. _lxml: http://lxml.de

0 commit comments

Comments
 (0)
This repository has been archived.