Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Stopwatch

Public visualization

Viewing a saved revision (read-only)

1758af7b18974b93a2f7669dce56471c

Stopwatch

0 stars1🌍 Public
CCurran Kelleher
Last edited Oct 9, 2025
Created on May 11, 2021
Forked from D3 Starter

A digital stopwatch displays elapsed time in hours, minutes, and seconds, updating every second with a monospace font. The page uses D3.js selection and formatting APIs—specifically `d3.select` and `d3.format`—to update the text content of the body element. A `setInterval` callback increments a counter each second, and the formatted time is rendered as a colon-separated string.

AI-generated description

A stopwatch that counds seconds, minutes, and hours.