Published
Edited
Oct 26, 2020
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
data = {
let data = json.map((d,i,arr) => {
return {
...d,
doped: d.Doping != "" ? true : false
}
})
data.forEach(d => d.Time = new Date(2020, 0, 1, 0, 0, d.Seconds))
return data
}
Insert cell
json = d3.json( await "https://raw.githubusercontent.com/freeCodeCamp/ProjectReferenceData/master/cyclist-data.json", d3.autoType)
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell

Purpose-built for displays of data

Observable is your go-to platform for exploring data and creating expressive data visualizations. Use reactive JavaScript notebooks for prototyping and a collaborative canvas for visual data exploration and dashboard creation.
Learn more