A year of weekly running mileage
This radial heatmap visualizes a year of weekly running mileage, with runs plotted as bars radiating from the center. The distance (yellow) and elevation gain (blue) of individual runs are encoded along a circular time axis, with hover interactions revealing detailed tooltips. Using D3 v4 and SVG animations, the visualization applies a moving 7-day sum to calculate weekly mileage. Two interactive sliders adjust color thresholds (low/middle/high) that segment the data into three colored zones, and the underlying masked paths are redrawn dynamically as thresholds change, selectively coloring the bars. The example builds on Adam Pearce’s mask-based coloring technique to show how multiple color zones can be rendered in a single path.
AI-generated descriptionNote: still a work in progress
In his heat-histogram, Adam Pierce shows how using masks lets you draw an area with multiple colors using just one path.
Here this method is applied to explore the weekly mileage I ran in 2014. Instead of updating the mask itself like in Adam's bl.ocks, the underlying masked paths are redrawn depending on the threshold values from the inputs, so the path can be selectively colored.
The bars are the distance (yellow) and elevation (blue) of the individual runs, hover on them to get more details.
forked from <a href='http://bl.ocks.org/gcalmettes/'>gcalmettes</a>'s block: <a href='http://bl.ocks.org/gcalmettes/0ab8e8e1c64fa07e5fe62ae606624cb6'>A year of weekly running mileage</a>