Learn Introductory JavaScript by Building a Pyramid Generator - Step 2

Tell us what’s happening:

i will tried many time but dind solve this so please help me

Your code so far


// User Editable Region

 <body>
  <script>
    const dataset = [12, 31, 22, 17, 25, 18, 29, 14, 9];

    d3.select('body')
      .selectAll('h2')
      .data(dataset)
      .enter()
      .append('h2')
      .text(d => d + ' USD');
    // Add your code below this line
      .style('font-family', 'verdana')


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


// User Editable Region
indian

Your browser information:

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

Challenge Information:

Learn Introductory JavaScript by Building a Pyramid Generator - Step 2

Please talk about how you’re stuck understanding the error message and fixing your code. Thanks