Public
Edited
Dec 11, 2023
1 star
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
get_json = async (json_source)=> {
if (json_source) {
if (json_source.substr (json_source.length-3) == ".gz") {
return JSON.parse (pako.inflate(await d3.buffer(json_source), { to: 'string' }));
}
return d3.json (json_source);
try {
return d3.json (json_source);
} catch {}
//results_file.json();
}
try {
return JSON.parse (pako.inflate(await gard_results_file.arrayBuffer(), { to: 'string' }));//results_file.json();
} catch {}
return gard_results_file.json();
}
Insert cell
Insert cell
Insert cell
Insert cell
params = new URLSearchParams(location.search)
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
pako = require('pako@2.1.0/dist/pako.min.js')
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