Skip to main content
100%

A year of weekly running mileage

✓ Published0🌍 Public
TThanaporn-sk
Last edited Jan 15, 2019
Created on Jan 15, 2019

This radial heat-histogram visualizes a year of weekly running mileage, with distance and elevation for each run shown as colored bars around a circular timeline. The visualization uses a masked area path to color the chart dynamically based on adjustable weekly mileage thresholds, with interactive sliders controlling the color transitions between low, middle, and high zones. Built with D3 v4 and moment.js, it renders SVG elements and includes hover tooltips for detailed run information, with data loaded from a JSON file.

AI-generated description

Note: 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>

forked from <a href='http://bl.ocks.org/63anp3ca/'>63anp3ca</a>'s block: <a href='http://bl.ocks.org/63anp3ca/212232429320a2331d242ebc15bee1b1'>A year of weekly running mileage</a>

mit Licensed

Similar vizzes