--- id: 5d8a4cfbe6b6180ed9a1c9f7 title: Step 26 challengeType: 0 dashedName: step-26 --- # --description-- The range for this scale will go from the left of your graph to the right, with 2012 on the left and 2020 on the right. Add the `range` function to the `xScale` and pass it an array with the values: `svgMargin` and `svgWidth - svgMargin`. This will translate to `[70, 630]`. So 2012 will use 70 as is x-coordinate and 2020 will use 630 as its x-coordinate. # --hints-- test-text ```js const range = xScale.range(); assert(range.length === 2 && range[0] === 70 && range[1] === 630); ``` # --seed-- ## --before-user-code-- ```html D3 Dashboard
``` ## --seed-contents-- ```html ``` # --solutions-- ```html ```