Published
Edited
Mar 17, 2020
Insert cell
md`# Fetching data from data.world`
Insert cell
d3 = require('d3-dsv');
Insert cell
csvText = await fetch('https://query.data.world/s/mtr2limtfbsgpzemzhtc3qmanvbj2e').then(r => r.text())
Insert cell
parsedCsv = d3.csvParse(csvText);
Insert cell
Object.keys(parsedCsv[0]);
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