Data Visualization with D3 - Add Document Elements with D3

Tell us what’s happening:
Describe your issue in detail here.

Your code so far

<body>
  <script>
    // Add your code below this line



    // Add your code above this line
  </script>
</body>

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36

Challenge: Data Visualization with D3 - Add Document Elements with D3

Link to the challenge:

if you do not know what to do just follow this instructions:
first,simply copy the provided example at the end which is

d3.select("ul")
  .append("li")
  .text("Very important item");

and paste it inside the script tag.
second,change the ul to body,and the li to h1,finally the text Very important item to Learning D3.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.