Published
Edited
Dec 13, 2021
Importers
1 star
Insert cell
Insert cell
md`
Forking ... Cause sometimes you may need many, many steps?

A library of color schemes extracted from the work of [Fabio Crameri](http://www.fabiocrameri.ch/colourmaps.php) on [Scientific Colour maps](http://doi.org/10.5281/zenodo.1243862). Click on a scheme to copy its colors into the clipboard, or import \`crameri\` from this notebook into yours.

Version: 7.0

Original license: [MIT](https://choosealicense.com/licenses/mit/)`
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
import {schemes} with {rawschemes as rawschemes} from '@fil/colormaps'
Insert cell
Insert cell
Insert cell
Insert cell
max = 100
Insert cell
Insert cell
schemes_by_tag = tags.map(tag => ({
tag,
schemes: Object.keys(crameri)
.filter(k => crameri[k].tags && crameri[k].tags.includes(tag) && crameri[k][steps])
.map(k => ({name: k, scheme: crameri[k]}))
})
).concat({
tag: 'uncategorized',
schemes: Object.keys(crameri)
.filter(k => crameri[k].tags == undefined && crameri[k][steps])
.map(k => ({name: k, scheme: crameri[k]}))
})
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell

Purpose-built for displays of data

Observable is your go-to platform for exploring data and creating expressive data visualizations. Use reactive JavaScript notebooks for prototyping and a collaborative canvas for visual data exploration and dashboard creation.
Learn more