All examples By author By category About

sergiospagnuolo

Heat map with tool-tip and random values.

This is a heatmap inspired by this Trulia recreation, with the following additions:

  1. This iteration uses [colorBrewer.js](https://github.com/mbostock/d3/blob/master/lib/colorbrewer/colorbrewer.js) for the color scheme.
  2. Tool-tips using [tool-tips](http://labratrevenge.com/d3-tip/) to show the value.
  3. The user can update the tile values. The values are generated from a probability distribution. I created a short script (rand.js) that generates a Normal random variable using the Box-Muller transformation, an Exponential distribution and a Logistic distribution.
  4. forked from ilanman's block: Heat map with tool-tip and random values.