---
id: 587d7fa8367417b2b2512bcd
title: Create a Bar for Each Data Point in the Set
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").length == 9, "Your document should have 9 rect
elements.");'
- text: ''
testString: 'assert(code.match(/\.data/g), "Your code should use the data()
method.");'
- text: ''
testString: 'assert(code.match(/\.enter/g), "Your code should use the enter()
method.");'
- text: ''
testString: 'assert(code.match(/\.append/g), "Your code should use the append()
method.");'
```
## Challenge Seed
## Solution
```js
// solution required
```