Published
Edited
Feb 7, 2021
Importers
Insert cell
md`# Harry Beck Diagram`
Insert cell
md`### Appendix: Code`
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
function removeDuplicates(locations) {
const locationsIndex = locations.reduce(function(locationsIndex, location) {
locationsIndex[location.id] = location;
return locationsIndex;
}, {});
return Object.values(locationsIndex);
}
Insert cell
Insert cell
Insert cell
getLocations({ a: [0, 0], d: [3, 3] }, ['a', 'b', 'c', 'd'])
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