Skip to main content
100%

Old Faithful Contour Plot B

✓ Published1🌍 Public
OOleJRask
Last edited Dec 3, 2021
Created on Dec 3, 2021

This visualization displays the Old Faithful geyser dataset as a smooth contour plot, with eruption time on the x-axis and waiting time on the y-axis. The code uses d3.contourDensity to compute density contours from the data, then renders them as filled SVG paths via d3.geoPath, with a sequential color scale from d3-scale-chromatic using interpolateGreens. Interactive bandwidth adjustment occurs on mousemove, altering the contour smoothing level dynamically. Axes are drawn using d3.axisBottom and d3.axisLeft, with data loaded via d3.tsv from a GitHub gist.

AI-generated description

A visualization of the Old Faithful Dataset

Uses d3-contour.

Draws from bl.ocks.org: Density Contours

MIT Licensed

Similar vizzes