--- id: 5d8a4cfbe6b6180ed9a1ca1f title: Part 66 challengeType: 0 dashedName: part-66 --- # --description-- Each circle needs a `cx` and `cy` attribute so it knows where to display on the SVG. These are similar to the x and y coordinates for the lines and will be calculated in the same way. The difference is that, for circles, the `cx` and `cy` are attributes, so you need to use the `attr` function. Use the `attr` function to set the `cx` to `d => xScale(d.year)`. # --hints-- test-text ```js assert($('svg circle')[0].getAttribute('cx') == '70'); ``` # --seed-- ## --before-user-code-- ```html D3 Dashboard
``` ## --seed-contents-- ```html ``` # --solutions-- ```html ```