Pencil Sketch d3 v4
The visualization shows a United States map rendered in a rough, pencil-sketch style using SVG. The map is composed of hand-drawn-like, wobbly lines that outline the country's coastline and state boundaries, created from the `coast.json` TopoJSON data. Andrew Reid's D3 v4 implementation applies a sketch effect by perturbing the paths with jitter and varying stroke widths, giving the static geographic shapes a lively, hand-drawn appearance. The example demonstrates how D3's SVG path rendering can be combined with custom geometry processing to achieve a stylized aesthetic.
AI-generated descriptionAn attempt to re-create some of the effect of the d3v3 pencil sketch by Mike Bostok : Pencil Sketch.
The block uses d3v4, takes a line feature, converts the geographic coordinates to svg coordinates and then, when drawing the line, jitters the points and spines between them. Not quite appropriate for a spinning globe, but fine for still maps.