Public
Edited
Mar 3, 2023
Insert cell
Insert cell
Insert cell
Insert cell
citiesInfoRaw = new SimpleData().loadDataFromUrl({url: 'https://raw.githubusercontent.com/nshiab/cities-temperature-example/main/output/cities-for-observable/cities-info.csv'})
Insert cell
citiesInfoRaw.clone().checkValues().showTable()
Insert cell
citiesDataRaw = new SimpleData().loadDataFromUrl({url: ['https://raw.githubusercontent.com/nshiab/cities-temperature-example/main/output/cities-for-observable/1.csv','https://raw.githubusercontent.com/nshiab/cities-temperature-example/main/output/cities-for-observable/2.csv']})
Insert cell
citiesDataRaw.showTable()
Insert cell
citiesDataRaw
.clone()
.checkValues({nbItemsToCheck: 25000, randomize: true})
.showTable()
Insert cell
citiesDataCleaned = citiesDataRaw.clone().keepNumbers({key: "tmax"})
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