Public
Edited
Feb 25, 2024
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
row_end = index[row_end_index+1]
Insert cell
data = _.flatten(bytes.split('\n').map(all_bytes_line => {
return all_bytes_line.split('\t').slice(1).map((datum, i) => {
return {
TIC: +datum,
x: pixels[i].x,
y: 70 - pixels[i].y
}
})
}))
Insert cell
Insert cell
pixels = header.slice(1).map(d => {
const [unused, x, y] = d.split('_');
return {x: +x, y: +y}
})
Insert cell
Insert cell
Insert cell
Insert cell
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