Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Fork Circular calendar

Public visualization

Viewing a saved revision (read-only)

244efc19fa59443ab93237be17a44403

Fork of Fork Circular calendar

0 stars1🌍 Public
LLiml
Last edited Apr 16, 2024
Created on Apr 8, 2024

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 description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.