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

const item = d3.select("h1")    

d3.select("h1")
  .append("li")
  .text("Learning D3");


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

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) 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:

¡Hola!

@ rohitk

Si revisas bien las instrucciones, te piden utilizar el metodo select para seleccionar el elemento body

d3.select("body")

Enseguida te piden utilizar el metodo append para agregar un elemento h1

.append("h1")

saludos