--- id: 5d8a4cfbe6b6180ed9a1ca35 title: Step 88 challengeType: 0 dashedName: step-88 --- # --description-- The pie chart needs a new scale to set the colors. Create a new `const` named `pieColors` and set it equal to `d3.scaleOrdinal()`. An ordinal scale is for a set of data that will have exactly one item in the range specifically for it. In this case, each platform of followers you have will map directly to a single color with nothing in between. # --hints-- test-text ```js assert(/const\s*pieColors\s*=\s*d3\s*\.\s*scaleOrdinal\s*\(\s*\)/g.test(code)); ``` # --seed-- ## --before-user-code-- ```html D3 Dashboard
``` ## --seed-contents-- ```html ``` # --solutions-- ```html ```