From f9fe11e15ec0d1d6fd873c529ebaedf271c834a3 Mon Sep 17 00:00:00 2001 From: xufanglu Date: Sun, 30 Oct 2016 13:31:08 +0800 Subject: [PATCH] fixed data format error --- README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 4e605e0..a458b03 100644 --- a/README.md +++ b/README.md @@ -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()