🌍 Public
Viewing a saved revision (read-only)
244efc19fa59443ab93237be17a44403
Fork of Fork Circular calendar
A circular calendar visualization renders a full year as a ring, with months divided into colored arcs and text labels positioned around the outer edge. Events from a hardcoded array appear as blue annular bands spanning their start and end dates, using d3.arc to compute the radial segments. The code calculates day-of-year with custom Date prototype methods and maps those to angles via doyToDegrees, while d3 v4 selects the SVG container and appends paths. CSS classes control styling for months, quarters, and interactive hover effects on specific arcs.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.