block by yelper 307b1cef7ef792722d4cbde61099a265

Playing with binned representations

Full Screen

A juxtaposed comparison of a hexagonal binning representation, a scatterplot, and a subsampled binning representation with multiple ‘data series’. The hexagons try to be smart about attenuation with number of points, and the hexagon’s color is a weighted average of colors in Lab space.

To add points, click on the scatterplot and the other plots will update as well. Hold down combinations of Alt and Ctrl to create points of other colors. Add your own data (or clear the data) by changing ptData and calling updateVis().

This block is in-progress – consider sampling the points within each bin to still show some distribution while keeping faithful to the proportion of classes within.

d3.hexbin.min.js