--- id: 5d8a4cfbe6b6180ed9a1ca0a title: Part 45 challengeType: 0 dashedName: part-45 --- # --description-- Instead of simply using the year(`d.year`) for the x-coordinate, you need to pass each year to the `xScale` so it can set the appropriate coordinate based on your scale. In the "d function" you created, return `xScale(d.year)` instead of `d.year`. # --hints-- test-text ```js assert(/\.x\s*\(d\s*=>\s*xScale\s*\(\s*d\.year\s*\)\s*\)/g.test(code)); ``` # --seed-- ## --before-user-code-- ```html D3 Dashboard
``` ## --seed-contents-- ```html ``` # --solutions-- ```html ```