Skip to main content
100%

Gist 568d5eb25a35dbbb8d9e9e87521b4221

✓ Published0🌍 Public
FFrank515
Last edited Jul 8, 2018
Created on Jul 8, 2018

This example visualizes a two-week running schedule from a small CSV dataset, showing daily mileage with a pattern of rest days every fourth day. It uses a line chart rendered with D3.js, where the x-axis maps sequential day numbers and the y-axis encodes miles, with data points joined by a path generated through d3.line. The visualization highlights the alternating effort and recovery rhythm, with zero-mile rest days clearly visible as dips to the baseline. The code loads the data via d3.csv and applies a linear scale for both axes, while a smooth curve interpolation (d3.curveLinear) connects the points to emphasize the cyclical nature of the training plan.

AI-generated description

Similar vizzes