Public
Edited
May 28, 2023
Insert cell
Insert cell
Insert cell
USB-Device-Vendors-and-Devices.tsv
Type Table, then Shift-Enter. Ctrl-space for more options.

Insert cell
usb_data = FileAttachment("USB-Device-Vendors-and-Devices.tsv").tsv();
Insert cell
usb_filtered = {
const obj = {}
usb_data.forEach(d => {
const vendorID = d.VendorID16;
const deviceID = d.DeviceID16;
if (!(vendorID in obj))
obj[vendorID] = {name: d.VendorName, devices: {}};
obj[vendorID].devices[deviceID] = d.DeviceName;
});
return obj;
}
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