--- id: 5d8a4cfbe6b6180ed9a1c9f3 title: Step 22 challengeType: 0 dashedName: step-22 --- # --description-- D3 has a bunch of functions for working with scales as well. One of them is `domain`. It takes an array that is used to describe the highest and lowest values of the data for this scale. After a quick look at the data, the values of the "followers" go from about 0 to 5000. Chain the `domain` function to the `yScale` and pass it the array `[0, 5000]`. # --hints-- test-text ```js const domain = yScale.domain(); assert(domain.length === 2 && domain[0] === 0 && domain[1] === 5000); ``` # --seed-- ## --before-user-code-- ```html