I have this in my index.html file, but it doesnβt display the paragraph that I want to add using D3
<!DOCTYPE html> <html> <head> <title> D3 page template </title> <script type="text/javascript" src = "d3/d3.v3.js"></script> </head> <body> <script type="text/javascript"> d3.select("body").append("p").text("new paragraph!"); </script> </body> </html>
The path to where I refer to D3.js should be correct, because if I do a check item in the browser, I can click on the D3 link and it will lead me to the source code.

user1899082
source share