Data Visualization course 1

Tell us what’s happening:
Describe your issue in detail here.

Lesson 2 on Grouping of Elements with D3**
im getting a wierd error i dont understand.
it sais “Uncaught TypeError: d3.selectALL is not a function.” I dont understand what im doing wrong.

  // Add your code below this line


  // Add your code above this line
  **Your browser information:**

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.61 Safari/537.36

Challenge: Select a Group of Elements with D3

Link to the challenge:

If I am not wrong method names are case-sensitive.


is not the same as


just tried d3.selectALL(“li”);
same error even after refreshing

I don’t know anything about this, but it looks like you should try d3.selectAll not ALL.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.