From 6d2db1993ad4a8f789b1056956e15a364f5ad6a5 Mon Sep 17 00:00:00 2001 From: The Coding Aviator <34807532+thecodingaviator@users.noreply.github.com> Date: Tue, 6 Nov 2018 22:50:42 +0530 Subject: [PATCH] Update index.md (#34232) --- .../index.md | 28 +++++++++++++++++-- 1 file changed, 25 insertions(+), 3 deletions(-) diff --git a/guide/english/certifications/data-visualization/data-visualization-with-d3/use-the-d3-max-and-d3-min-functions-to-find-minimum-and-maximum-values-in-a-dataset/index.md b/guide/english/certifications/data-visualization/data-visualization-with-d3/use-the-d3-max-and-d3-min-functions-to-find-minimum-and-maximum-values-in-a-dataset/index.md index f86ebb6fdf..1ed8bb77dd 100644 --- a/guide/english/certifications/data-visualization/data-visualization-with-d3/use-the-d3-max-and-d3-min-functions-to-find-minimum-and-maximum-values-in-a-dataset/index.md +++ b/guide/english/certifications/data-visualization/data-visualization-with-d3/use-the-d3-max-and-d3-min-functions-to-find-minimum-and-maximum-values-in-a-dataset/index.md @@ -3,8 +3,30 @@ title: Use the d3.max and d3.min Functions to Find Minimum and Maximum Values in --- ## Use the d3.max and d3.min Functions to Find Minimum and Maximum Values in a Dataset -This is a stub. Help our community expand it. +### Hint 1 -This quick style guide will help ensure your pull request gets accepted. +Use the `d3.max()` function. - +### Hint 2 + +Use a callback function. + +### Hint 3 + +Check for the second element in the callback function's array. + +### Solution + +To solve the solution, you code should look like this, this would check for the `z` co-ordinate i.e. the third element in the array which would be at an index of 2: + +```javascript + + + +```