Work with Dynamic Data in D3 incorrect

Tell us what’s happening:
Hi friends, help me please!
I get solution this code, but…
i changed code above line, is there other solution for this code?

Your code so far

    const dataset = [12, 31, 22, 17, 25, 18, 29, 14, 9];"body").selectAll("h2")
      // Add your code below this line
     for (var d=0;d<dataset.length;d++){
          .text(dataset[d]+" USD").enter();
      // Add your code above this line

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36.

Link to the challenge: