--- id: 5d8a4cfbe6b6180ed9a1ca71 title: Part 145 challengeType: 0 dashedName: part-145 --- # --description-- Change the `fill` of the `tumblr-circles` and `instagram-circles` to use a "d function" that returns their respective color variables when `d.year` equals `year`, leave it `white` when they don't. This is similar to how you set the fill of the Twitter circles. Then, all of the circles will get filled in for the currently displayed year. # --hints-- test-text ```js const circles = Object.values($('.dashboard svg circle')); assert( circles.filter( (el) => el.getAttribute && (el.getAttribute('fill') === '#7cd9d1' || el.getAttribute('fill') === '#f6dd71' || el.getAttribute('fill') === '#fd9b98') ).length === 3 ); ``` # --seed-- ## --before-user-code-- ```html D3 Dashboard
``` ## --seed-contents-- ```html ``` # --solutions-- ```html ```