Problems with the D3 lesson

Tell us what’s happening:
i can not proceed the lessons as it says that it cannot no read priperty ‘presets’. Could you please help.

Your code so far


<body>
<script>

</body>

Your browser information:

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

Challenge: Add Document Elements with D3

Link to the challenge:

Hi @Akhror,

You have not written any code yet. You need to follow the below example:

image

Try this and if you still cannot pass, post your code again. :slight_smile: