Tell us what’s happening:
Regardless of what I put, I keep getting this error in the console.
TypeError: Cannot read property ‘presets’ of undefined
Your code so far
<body>
<script>
// Add your code below this line
d3.select('body')
.append('h1')
.text('Learning D3');
// 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/80.0.3987.163 Safari/537.36
.
Challenge: Add Document Elements with D3
Link to the challenge: