Skip to content

Commit

Permalink
fixed data format error
Browse files Browse the repository at this point in the history
  • Loading branch information
xufanglu authored and mbostock committed Oct 30, 2016
1 parent e8a2dc6 commit f9fe11e
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -252,12 +252,12 @@ When a pie is [generated](#_pie), the value accessor will be invoked for each el

```js
var data = [
{"number": 4, "name": Locke},
{"number": 8, "name": Reyes},
{"number": 15, "name": Ford},
{"number": 16, "name": Jarrah},
{"number": 23, "name": Shephard},
{"number": 42, "name": Kwon}
{"number": 4, "name": "Locke"},
{"number": 8, "name": "Reyes"},
{"number": 15, "name": "Ford"},
{"number": 16, "name": "Jarrah"},
{"number": 23, "name": "Shephard"},
{"number": 42, "name": "Kwon"}
];

var arcs = d3.pie()
Expand Down

0 comments on commit f9fe11e

Please sign in to comment.