Skip to main content
100%

Dynamic Simplification III

✓ Published0🌍 Public
Mmbostock
Last edited Feb 9, 2016
Created on Aug 20, 2013

This example demonstrates dynamic simplification of a filled polygon representing US land masses, where the level of detail adapts during zooming. The effect is subtle because the polygon fill hides most topological changes. Animated transitions repeatedly zoom between a close-up of the Chesapeake Bay and a full view of the country. The visualization uses d3.geo.path with a custom d3.geo.transform to filter points based on an area threshold, rendered on a Canvas via the context API, with d3.behavior.zoom and TopoJSON data.

AI-generated description

A variation of the dynamic simplification demonstration using a filled polygon rather than a stroked mesh. As a result, the effect of simplification is almost imperceptible during zooming. Aside from the fluid framerate achieved by faster rendering, of course!

gpl-3.0 Licensed

Similar vizzes