---
id: 587d7fac367417b2b2512bdc
title: Use the d3.max and d3.min Functions to Find Minimum and Maximum Values in a Dataset
required:
- src: 'https://cdnjs.cloudflare.com/ajax/libs/d3/4.3.0/d3.min.js'
challengeType: 6
videoUrl: ''
localeTitle: ''
---
## Description
undefined
## Instructions
undefined
## Tests
```yml
tests:
- text: ''
testString: 'assert(output == 8 && $("h2").text() == "8", "The text in the h2
should be 8.");'
- text: ''
testString: 'assert(code.match(/\.max/g), "Your code should use the max()
method.")'
```
## Challenge Seed
## Solution
```js
// solution required
```