All examples By author By category About

micahstubbs

Correlation Matrix VI

Hexbins also mean fewer DOM elements on the page.

Just how many DOM Elements do we create to visualize the 2000 records in our diamonds.json dataset?

Pasting document.getElementsByTagName('*').length into the JavaScript console in Chrome's DevTools tells us that there are 2279 elements on the page for this hexbins-only example.

In contrast, our one-circle-for-every-datapoint encoding method in Correlation Matrix IV creates 84072 DOM elements.

Forked from Correlation Matrix V by micahstubbs

Originally inspired by the Simple Correlation Matrix block from emeeks

DOM Element-counting snippet from this StackOverflow Answer