This charts shows the splits pace (in mph) for 7,190 London Marathon 2016 finishers as obtained from strava athletes data. The data is rendered using a combination of d3 and d3fc components.
The code performs quite a bit of data manipulation, primarily via d3.nest
and d3.pairs
in order to shape the data. Interestingly, the labels on the right-side of the chart are rendered as d3fc line annotations where the line is hidden, just leaving the label.
https://unpkg.com/babel-polyfill@6.26.0/dist/polyfill.js
https://unpkg.com/custom-event-polyfill@0.3.0/custom-event-polyfill.js
https://cdnjs.cloudflare.com/ajax/libs/document-register-element/1.8.0/document-register-element.js
https://unpkg.com/babel-standalone@6/babel.min.js
https://unpkg.com/d3@5.5.0
https://unpkg.com/d3fc@14.0.41
https://d3js.org/d3-scale-chromatic.v1.min.js