Public
Edited
Aug 18, 2024
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
subsets = createSubsets(sorted, 5).flatMap((subset, index) => subset.map(item => ({ ...item, Quintile: 20 * (index + 1) })));
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
countPostalCodes(noise.map((d) => d.Postcode))
Insert cell
function countPostalCodes(postalCodes) {
const counts = {};

postalCodes.forEach(code => {
const prefix = code.substring(0, 2);
counts[prefix] = (counts[prefix] || 0) + 1;
});

return counts;
}
Insert cell
Noise Solution VFSG report FINA.csv
Type Table, then Shift-Enter. Ctrl-space for more options.

Insert cell
Insert cell
groupedData = d3.group(n, d => d["Participant: Industry"]);

Insert cell
industry_data = [...groupedData.entries()].map(([industry, industryData]) => industryData)
Insert cell
industry = [...groupedData.entries()].map(([industry, industryData]) => industry !== "" ? industry : "Unknown")
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