Skip to main content
100%

Contour experiment

✓ Published0🌍 Public
RRobinL
Last edited Apr 8, 2017
Created on Apr 8, 2017

This contour plot visualizes a 5×5 grid of values containing 1s at the corners and center, rendered as smooth isolines. The d3-contour library computes contours at thresholds from 0 to 1 in 0.1 increments, with d3.scaleLinear mapping threshold values to the YlGnBu color interpolator. The SVG paths are drawn using d3.geoPath with a geoIdentity projection scaled by 100, and each contour is filled according to its corresponding value. The sparse data creates a symmetric pattern of concentric, color-graded polygons.

AI-generated description

An example of d3-contour.

forked from <a href='http://bl.ocks.org/mbostock/'>mbostock</a>'s block: <a href='http://bl.ocks.org/mbostock/f48ff9c1af4d637c9a518727f5fdfef5'>Contour Plot II</a>

forked from <a href='http://bl.ocks.org/anonymous/'>anonymous</a>'s block: <a href='http://bl.ocks.org/anonymous/69ac989185313094d02b22c23e10660f'>Contour experiment</a>

gpl-3.0 Licensed

Similar vizzes