--- id: 5d8a4cfbe6b6180ed9a1c9f6 title: Part 25 challengeType: 0 dashedName: part-25 --- # --description-- The `year` values of your data will be used for the x-scale. Chain the `domain` function to `xScale` and pass it an array with the first and last years of your data. # --hints-- test-text ```js const domain = xScale.domain(); assert(domain.length === 2 && domain[0] === 2012 && domain[1] === 2020); ``` # --seed-- ## --before-user-code-- ```html D3 Dashboard
``` ## --seed-contents-- ```html ``` # --solutions-- ```html ```