Use the d3.max and d3.min Functions to Find Minimum and Maximum Values in a Dataset - DATA VISUALIZATION

I don’t understand why d[1,3] is an error and how to get one particular number from the array below. What is h2?

You’ll need to provide a link to the exercise in question and the code you’ve tried so that we have some context for debugging.

    const positionData = [[1, 7, -4],[6, 3, 8],[2, 9, 3]]
    // Add your code below this line
    const output = d3.max(positionData, (d) => d[1,3]);  // Change this line

    // Add your code above this line"body")

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