block by armollica d221d7d9d7a8fd4a7838

Scatterplot with Tufte Axes

Full Screen

Scatterplot using axes that I saw in one of Edward Tufte’s books. I can’t remember which (maybe this one).

The axes are pretty pared down but provide basic distributional information of the data. The 1st and 4th quartiles are indicated by the outer lines and the 2nd and 3rd by the inner lines. The gap is the median.

Hovering allows you to see the actual value of a given point. Uses an invisible Voronoi tessellation to make point selection nicer (inspired by this block).

index.html

tufte-axis.js