Skip to content

Commit 2e5c54e

Browse files
authored
Update d3_example.html
1 parent e76ada3 commit 2e5c54e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

_includes/d3_example.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@
148148
"translate(" + margin.left + "," + margin.top + ")");
149149
var data;
150150
// Get the data
151-
d3.json("data.json", function (error, json) {
151+
d3.json("/data.json", function (error, json) {
152152
console.log(json)
153153

154154
json.forEach(function (d) {
@@ -350,4 +350,4 @@
350350
})
351351
};
352352
</script>
353-
</body>
353+
</body>

0 commit comments

Comments
 (0)