Polar Clock
✓ Published0🌍 Public
Mmbostock
Last edited Feb 24, 2016
Created on Jul 21, 2011
This polar clock visualizes time as six nested, colored arcs, each representing seconds, minutes, hours, days, dates, and months, with the arc length proportional to the current value. The SVG updates every second with an elastic transition, using `d3.svg.arc` for curved shapes, `attrTween` to interpolate arc angles, and a linear color scale to map each value to a hue. The code, built with D3 v3, tracks the current date via a `fields()` function and respects the `document.hidden` property to pause animation when the tab is inactive.
AI-generated descriptionThis unusual clock in polar coordinates is based on a Flash screensaver by pixelbreaker. See also the earlier Protovis version, and two newer variations.
gpl-3.0 Licensed