Skip to main content
Public

Share visualization

Loading preview…

Fork of Moon Calendar 2022

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Before sharing, review the publishing checklist.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportPNG, HTML, source ZIP

Fork of Moon Calendar 2022

0
Ppkdvalis
Last edited Nov 28, 2023
Created on Nov 28, 2023
Forked from Moon Calendar 2024

This visualization displays a full year of moon phases as a calendar grid, with months on the y-axis and days on the x-axis. Each day renders a small moon using d3.geoPath and d3.geoOrthographic, with phase computed from a simple lunar period calculation based on a 1970 reference new moon. A click on the visualization adds a red pulsing ring around the current day’s moon via a transition. The code uses d3.timeDays and d3.axis scales to layout the calendar, with SVG animation for the highlighting effect.

AI-generated description

Shows the phase of moon for each day.

Click to show today.

Uses the "Simple" moon phase calculation from Moon Phase Calculators.

Derived from the following pieces published on bl.ocks.org:

Comments

Sign in to join the discussion.

MIT Licensed