Skip to main content
100%

Subsecond Ticks

✓ Published0🌍 Public
Mmbostock
Last edited Feb 9, 2016
Created on Sep 19, 2013

A line chart plots value against time with subsecond precision, using a time scale for the x-axis and a linear scale for the y-axis. The bottom axis displays ticks at fractional seconds, demonstrating correct behavior for millisecond-level time domains. Built with D3 v3, the example uses `d3.svg.axis` for tick generation, `d3.svg.line` for the path, and `d3.time.scale` for mapping dates. Data is loaded from a tab-separated file via `d3.tsv`, with timestamps converted from Unix seconds into JavaScript `Date` objects.

AI-generated description

Fixing a bug with tick identity in the axis component.

gpl-3.0 Licensed

Similar vizzes