Skip to main content
100%

Quick reference to ColorBrewer

✓ Published1🌍 Public
AAlark Joshi
Last edited Apr 17, 2025
Created on Apr 17, 2025
Forked from HTML Starter

This interactive reference visualizes all ColorBrewer palettes, displaying each as a row of color swatches that users can click to view the underlying color arrays. The page uses the `colorbrewer.min.js` library, which contains the palette data, and D3.js (version 3) to bind this data to the DOM, creating swatches via `d3.selectAll` and `d3.data`. Clicking a palette updates a text area with the JSON representation of its color values, providing a quick, hands-on way to explore sequential color schemes.

AI-generated description

Visual reference to Colorbrewer. Converted example by Elijah Meeks from https://gist.github.com/emeeks/8cdec64ed6daf955830fa723252a4ab3

MIT Licensed

Similar vizzes