restructured last chapters

This commit is contained in:
brightboost
2021-11-19 22:45:48 +01:00
parent 63a3fc300e
commit 6e1df7995f
46 changed files with 1225 additions and 1 deletions
+24
View File
@@ -0,0 +1,24 @@
<!DOCTYPE html>
<html>
<head>
<script src="https://d3js.org/d3.v7.min.js"></script>
<style>
svg {
background-color: lightgrey;
}
</style>
</head>
<body>
<svg id="drawing-area" height=100 width=500></svg>
<script>
let svg = d3.select("#drawing-area");
svg.append("circle")
.attr("cx", 100).attr("cy", 50).attr("r", 20).style("fill", "pink");
svg.append("circle")
.attr("cx", 200).attr("cy", 20).attr("r", 20).style("fill", "black");
svg.append("circle")
.attr("cx", 300).attr("cy", 70).attr("r", 20).style("fill", "grey");
</script>
</body>
</html>