Public
Edited
Oct 20, 2023
Insert cell
Insert cell
Insert cell
data = fetchp(csvURL)
.then(response => {
if (!response.ok) throw new Error(response.status);
return response.text();
})
.then(text => {
return d3.csvParse(text);
})
.catch(errorMessage => {
console.error('Error:', errorMessage);
});
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
finalData
Type Table, then Shift-Enter. Ctrl-space for more options.

Insert cell
finalData
Type Table, then Shift-Enter. Ctrl-space for more options.

Insert cell
Select a data source…
Type Chart, then Shift-Enter. Ctrl-space for more options.

Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
data2
X
month
Y
Color
member_casual
Size
Facet X
Facet Y
Mark
Auto
Type Chart, then Shift-Enter. Ctrl-space for more options.

Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
mergedData // Imported from '@orazal/divvy-trip-data'
Insert cell
Insert cell
Insert cell
Insert cell
import {mergedData} from '@orazal/divvy-trip-data'
Insert cell
import {fetchp} from '@tomlarkworthy/fetchp'
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