This commit is contained in:
2023-09-24 00:53:39 -07:00
commit 30ddc25d2b
12 changed files with 2577 additions and 0 deletions

17
src/js/single.js Normal file
View File

@@ -0,0 +1,17 @@
function makeDemo1() {
d3.csv("data/examples-simple.csv").then(function (data) {
d3.select("svg")
.selectAll("circle")
.data(data)
.enter()
.append("circle")
.attr("r", 5)
.attr("fill", "red")
.attr("cx", function (d) {
return d["x"];
})
.attr("cy", function (d) {
return d["y"];
});
});
}