Skip to main content
100%

HTML Starter

✓ Published0🌍 Public
JJeffrey Mcintyre
Last edited Apr 7, 2020
Created on Apr 7, 2020
Forked from HTML Starter

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 description

A bare minimum HTML page.

See also React Starter.

MIT Licensed

Similar vizzes