Skip to main content
100%

Density Contours

✓ Published0🌍 Public
Mmbostock
Last edited Feb 26, 2019
Created on Apr 10, 2017

This example visualizes the density of the Old Faithful geyser dataset, showing the relationship between eruption duration and waiting time. It displays smooth contour lines that represent the estimated probability density of the data points, overlaid on a scatterplot of individual measurements. Built with D3 v4, the code uses `d3.contourDensity` to generate the contours and `d3.geoPath` to render them as SVG paths. The data is loaded from a TSV file, with axes labeled for idle and erupting minutes.

AI-generated description

An example of d3-contour for density estimation.

gpl-3.0 Licensed

Similar vizzes