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.
<body>
<script>
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
d3.select("body")
.append("h2")
.text(output)
</script>
</body>
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.