You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
D3 no longer provides the d3.schemeCategory20* categorical color schemes. These twenty-color schemes were flawed because their grouped design could falsely imply relationships in the data: a shared hue can imply that the encoded data are part of a group (a super-category), while relative lightness can imply order
To get it to work, I changed it to:
var colors = d3.schemeCategory10;
var colorIndex = Math.round(Math.random() *10);
The text was updated successfully, but these errors were encountered:
The original code for
freakout()
has:For D3v5 and newer:
To get it to work, I changed it to:
The text was updated successfully, but these errors were encountered: