Hi community,
In this challenge I am getting an error: https://www.freecodecamp.org/learn/data-visualization/data-visualization-with-d3/add-document-elements-with-d3
I think I am doing the right approach, but no clue with the error message, thanks for your help:
<body>
<script>
// Add your code below this line
d3.select("body")
.append("h1")
.text("Learning D3");
// Add your code above this line
</script>
</body>
Get this error
Blockquote
TypeError: undefined is not an object (evaluating ‘e.presets’)