---
id: 587d7fad367417b2b2512bdf
title: Add Axes to a Visualization
challengeType: 6
videoUrl: ''
localeTitle: ''
---
## Description
undefined
## Instructions
undefined
## Tests
```yml
tests:
- text: ''
testString: 'assert(code.match(/\.axisLeft\(yScale\)/g), "Your code should use the axisLeft()
method with yScale
passed as the argument.");'
- text: ''
testString: 'assert($("g").eq(1).attr("transform").match(/translate\(60\s*?,\s*?0\)/g), "The y-axis g
element should have a transform
attribute to translate the axis by (60, 0).");'
- text: ''
testString: 'assert(code.match(/\.call\(yAxis\)/g), "Your code should call the yAxis
.");'
```
## Challenge Seed
## Solution
```js
// solution required
```