Why am I Getting this Error Message? : TypeError: Cannot read property 'presets' of undefined

Why am I Getting this Error Message? :
“TypeError: Cannot read property ‘presets’ of undefined”

<body>
  <script>

    d3.select('body')
      .append('h1')
      .text('Learning D3');   

  </script>
</body>
       

User Agent is: Mozilla/5.0 (X11; CrOS x86_64 13099.102.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.127 Safari/537.36.

Challenge: Add Document Elements with D3

Link to the challenge:

Hi!

I have checked your code and it works fine without any errors!

Try again!

1 Like

Ty. Maybe it’s my browser/computer. I tried to skip some lessons. I wonder if that’s it. It’s still not working.

Hello there,

This does sounds like a browser issue. It could be caused by a browser extension. So, be sure to disable them. Some campers find success when clearing their browser cache.

Hope this helps

1 Like

Ty. I think it may have been the extensions.