Published
Edited
Jan 24, 2022
Insert cell
Insert cell
Insert cell
Insert cell
// Commenting the live fetch out so that we do not hit Wikipideia's servers on page reloads.
// wikiFetchResult = fetch(`https://en.wikipedia.org/w/api.php?format=json&origin=*&action=parse&prop=text&page=List_of_oil_spills&section=1`).then(response => response.json())
wikiFetchResult = FileAttachment("wikiFetchResult@2.json").json()
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
Insert cell
## 🏢 Oil Spills by Owner
Insert cell
spillOwners = Array.from(new Set(searchSpill.map(d => d.Owner))).filter(d => d !== "").sort()
Insert cell
Insert cell
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