Published
Edited
Jun 14, 2021
Insert cell
Insert cell
viewof estados = fromCSV2(await FileAttachment('estados_brasil_ponto_e_virgula.csv')
.text(),
['latitude','longitude']) // must list columns which are numeric
.view({height:240})
Insert cell
Insert cell
estados.column('latitude').data.map(v=>typeof(v))
Insert cell
Insert cell
create_obj = function(keys,fn) {
const obj = {};
keys.map(k=>obj[k] = fn);
return obj;
}
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