---
id: 587d7fac367417b2b2512bdd
title: Use Dynamic Scales
challengeType: 6
videoUrl: ''
localeTitle: ''
---
## Description
undefined
## Instructions
undefined
## Tests
```yml
tests:
- text: ''
testString: 'assert(output == 30 && $("h2").text() == "30", "The text in the h2 should be 30.");'
- text: ''
testString: 'assert(JSON.stringify(yScale.domain()) == JSON.stringify([0, 411]), "The domain() of yScale should be equivalent to [0, 411].");'
- text: ''
testString: 'assert(JSON.stringify(yScale.range()) == JSON.stringify([470, 30]), "The range() of yScale should be equivalent to [470, 30].");'
```
## Challenge Seed
## Solution
```js
// solution required
```