Skip to main content
100%

Fork of Time series - labels

✓ Published0🌍 Public
BBart van Pelt
Last edited Jan 18, 2023
Created on Jan 18, 2023
Forked from Time series

This example visualizes temporal data as rectangular marks on a time-based scatterplot, encoding registration and validity periods along the x- and y-axes. Hovering a rectangle displays a tooltip with its associated label value. Built with D3.js (version 7.8.1), the visualization uses `scaleTime`, `axisLeft`, `axisBottom`, and pointer events to map date ranges to screen coordinates. Input data is parsed from ISO date strings into JavaScript `Date` objects. The SVG rendering fills the browser viewport, with rectangles styled via CSS and a custom tooltip appended to the DOM.

AI-generated description

TimePlot

Example timeplots

References

MIT Licensed

Similar vizzes