and d3.js mashup

Today’s post pulls together a number of concepts I’ve been playing around with lately. As usual my source data and post theme is based on data associated with color schemes – pantone, paint colors etc as I’ve covered in numerous posts, including this one

The main components are –

Here’s a snap of the kind of chart created



This is just a mashup to play around with some of these components of course, but you could use this for example, to create palettes built on specific color schemes. It works by calculating the nearest colors to a given target that exist in a given scheme, and then creates various palettes for each one – selecting colors that exist in the scheme that are closest to the ideal color calculated for the palette

Livc Example

You can play around with the live example here, by changing some of the parameters, or hovering over or clicking on some color in the chart

The full story and the code can be found on the xLiberation site.

About brucemcp 225 Articles
I am a Google Developer Expert and decided to investigate Google Apps Script in my spare time. The more I investigated the more content I created so this site is extremely rich. Now, in 2019, a lot of things have disappeared or don’t work anymore due to Google having retired some stuff. I am however leaving things as is and where I came across some deprecated stuff, I have indicated it. I decided to write a book about it and to also create videos to teach developers who want to learn Google Apps Script. If you find the material contained in this site useful, you can support me by buying my books and or videos.