#Colour Density Hexbin Dots are placed randomly, then they are grouped by the raster. The tile colour is determined by the dot density. Raster is a hexbin.
Based off this: Hexagonal Binning
#Colour Density Hexbin Dots are placed randomly, then they are grouped by the raster. The tile colour is determined by the dot density. Raster is a hexbin.
Based off this: Hexagonal Binning
license: gpl-3.0 | |
height: 960 |
I think it may be more legible for information visualization to utilize a rougher specification for color and other element aspects. In this implementation, perturbations of color and line thickness provide a less uniform set of squares, but they are still nearly the same color. Perturbations of color, size, and line can all provide not only a nuanced aesthetic, but perhaps also convey a certain uncertainty in the data visualization. Using rgb specification, you imply a sort of precision similar to decimal precision in spatial coordinates, and by wiring your visualization to produce a slightly rougher color spectrum on output, you might correct for that. While line jitter has been a feature of drawing packages for some time, I haven't seen procedural application of this kind of perturbation to traditional data visualization.
I'm going to add some perturbation of paths following the same concept. I'll also put a few buttons in for user interaction.
{ | |
"vars": { | |
"@gray-base": "#000", | |
"@gray-darker": "lighten(@gray-base, 13.5%)", | |
"@gray-dark": "lighten(@gray-base, 20%)", | |
"@gray": "lighten(@gray-base, 33.5%)", | |
"@gray-light": "lighten(@gray-base, 46.7%)", | |
"@gray-lighter": "lighten(@gray-base, 93.5%)", | |
"@brand-primary": "darken(#428bca, 6.5%)", | |
"@brand-success": "#5cb85c", |
<!doctype html> | |
<title>responsive with CSS em</title> | |
<meta charset="utf-8"> | |
<style type="text/css"> | |
html { | |
font-size: calc(0.6em + 1vw); | |
} | |
</style> |
### | |
Helper functions | |
### | |
### | |
@function {getElementsByDataEl}: find and return elements by data-el attribute | |
@param {parent}: the DOM node to search through | |
@param {elements}: Array of data-el values to find | |
### |