---
id: 587d7fa6367417b2b2512bc3
title: Select a Group of Elements with D3
challengeType: 6
videoUrl: ''
localeTitle: ''
---
## Description
undefined
## Instructions
undefined
## Tests
```yml
tests:
- text: ''
testString: 'assert($("li").text().match(/list item/g).length == 3, "There should be 3 li
elements on the page, and the text in each one should say "list item". Capitalization and spacing should match exactly.");'
- text: ''
testString: 'assert(code.match(/d3/g), "Your code should access the d3
object.");'
- text: ''
testString: 'assert(code.match(/\.selectAll/g), "Your code should use the selectAll
method.");'
```
## Challenge Seed
## Solution
```js
// solution required
```