I am following this tutorial: http://alignedleft.com/tutorials/d3/adding-elements and am trying to get my hands dirty with d3 js.
I now created an index file with the following:
<!DOCTYPE html>
<html>
<head>
<script type="text/javascript" src="d3/d3.js">
d3.select("body").append("p").text("New paragraph!");
</script>
</head>
<body>
<p>Hello!</p>
</body>
</html>
This is located in a folder called d3 with all the contents of the file I downloaded here: https://d3js.org/
Now when I run the page I see "Hello!" but I do not see "New paragraph". So I assume the d3 part is not working. Any thoughts on what goes wrong here?