Gauge
This example presents a gauge visualization that displays a single numeric value on a semi-circular arc, using a colored gradient to represent the range from minimum to maximum. The gauge updates dynamically with an animated pointer that transitions smoothly to a new random value every few seconds, simulating real-time data changes. Built with D3.js v2, the visualization uses `d3.svg.arc` for the segmented ring, `d3.layout.pie` for tick generation, and `d3.scale.linear` to map the input domain to angular positions. The pointer’s movement relies on D3’s `transition` with an elastic easing, and the gauge’s color scale is defined by `d3.interpolateHsl`, while labels are positioned via rotation transforms.