Public
Edited
Jun 5, 2024
Insert cell
Insert cell
Insert cell
car Weight (pounds)@2.csv
Type Table, then Shift-Enter. Ctrl-space for more options.

Insert cell
carWeightPounds.map( v=>{
return {Year: v.Year,
Model: v.Model,
Weight: Math.round(poundsToKilograms(v.Weight))
}
})
Insert cell
function poundsToKilograms(pounds) {
return pounds * 0.453592;
}
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