--- id: 587d7fa9367417b2b2512bcf title: Dynamically Change the Height of Each Bar 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($("rect").eq(0).attr("height") == "36", "The first rect should have a height of 36.");' - text: '' testString: 'assert($("rect").eq(1).attr("height") == "93", "The second rect should have a height of 93.");' - text: '' testString: 'assert($("rect").eq(2).attr("height") == "66", "The third rect should have a height of 66.");' - text: '' testString: 'assert($("rect").eq(3).attr("height") == "51", "The fourth rect should have a height of 51.");' - text: '' testString: 'assert($("rect").eq(4).attr("height") == "75", "The fifth rect should have a height of 75.");' - text: يجب أن يكون rect السادس height 54. testString: 'assert($("rect").eq(5).attr("height") == "54", "The sixth rect should have a height of 54.");' - text: يجب أن يكون rect السابع height 87. testString: 'assert($("rect").eq(6).attr("height") == "87", "The seventh rect should have a height of 87.");' - text: يجب أن يكون rect الثامن height 42. testString: 'assert($("rect").eq(7).attr("height") == "42", "The eighth rect should have a height of 42.");' - text: يجب أن يكون rect التاسع height 27. testString: 'assert($("rect").eq(8).attr("height") == "27", "The ninth rect should have a height of 27.");' ```
## Challenge Seed
```html ```
## Solution
```js // solution required ```