Public
Edited
Jun 16, 2023
1 fork
3 stars
Insert cell
Insert cell
data = cars
Insert cell
Insert cell
data
Type Table, then Shift-Enter. Ctrl-space for more options.

Insert cell
Insert cell
converted = cars.map(d => {
return {
...d,
'economy (mpg)': d['economy (mpg)'] === null ? 0 : d['economy (mpg)']
}
})
Insert cell
Insert cell
converted
Type Table, then Shift-Enter. Ctrl-space for more options.

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