Skip to main content
100%

Contour Plot III

✓ Published0🌍 Public
Mmbostock
Last edited Mar 6, 2019
Created on Apr 7, 2017

A contour plot displays animated isolines of a mathematical function, with colors shifting through a red-blue diverging scale as the threshold values change over time. The visualization computes a grid of sine-based values, then uses d3-contour to generate contour geometries at varying thresholds. d3.geoPath draws these shapes onto a Canvas element, while d3.scaleSequential and d3.interpolateRdBu map contour values to colors. A d3.timer drives the animation, continuously updating the thresholds to create the moving contour bands.

AI-generated description

An example of d3-contour.

gpl-3.0 Licensed

Similar vizzes