viewof customScheme = colorSchemePicker({
title: "Custom scheme",
height: 500,
description: "This is a collection of custom schemes",
w: 700,
value: "Custom2",
schemes: [
{
name: "Custom",
colors: ["black", "red", "black", "red", "black", "red", "black"]
},
{
name: "Custom2",
colors: [...d3.schemeCategory10, ...d3.schemeSet1]
},
{
name: "Accent"
},
{
name: "BuGn",
k: 5
}
]
})