HTML Starter
✓ Published0🌍 Public
This example shows a minimal timeline of four dates using D3.js, rendered as small circles positioned along an SVG line. The visualization uses `d3.scaleTime` to map the date domain to pixel coordinates, with each circle’s center placed via the `cx` attribute and labeled with its full date string. The code imports specific D3 modules (`select`, `scaleTime`, etc.) and appends both circles and text elements to an SVG wrapper. It relies on hardcoded data (four `Date` objects) rather than an external dataset, demonstrating a bare-bones setup for time-based scatter plots.
AI-generated descriptionA bare minimum HTML page.
See also React Starter.
MIT Licensed