Skip to main content
100%

Fork of Visualizing Percentages

✓ Published0🌍 Public
Cckp8
Last edited Jan 18, 2023
Created on Jan 18, 2023

This visualization shows the current day of the year as a percentage using three different progress indicators: a horizontal bar, a donut, and a gauge. The percentage is computed from today’s date using `d3.timeFormat` to compare the day-of-year against the total days in the year. Each indicator is built with React components and SVG paths generated by `d3.arc`, with progress values driving the bar width, donut arc end angle, and gauge sweep. The layout is arranged using SVG groups with transforms, and the background container is toggled via a margin rect.

AI-generated description
MIT Licensed

Similar vizzes