Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Fork of Fork of Time series - labels - change x,y experiment ticks

Public visualization

Fork of Fork of Fork of Time series - labels - change x,y experiment ticks

0 stars0🌍 Public
BBart van Pelt
Last edited Jan 20, 2023
Created on Jan 19, 2023

This visualization displays temporal database relationships from Snodgrass’s SQL model, using rectangles to map validity and registration intervals on dual time axes. D3 v7’s `scaleTime`, `axisLeft`, and `axisBottom` render the SVG graph, while custom tooltip handlers on mouse events reveal date details. The code derives adjusted end dates for open intervals and computes rectangle widths and heights from the scale domains. Data originates from static JavaScript arrays with ISO date strings, parsed into `Date` objects for plotting.

AI-generated description

TimePlot

Example timeplots based on 'Developing Time-Oriented Database Applications in SQL' from Snodgrass

Comments

Sign in to join the discussion.

MIT Licensed