Published
Edited
Nov 19, 2021
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
boys_vs_girls = raw_data.map((d) => {
const b = d["NumberOfBirthCertificatesForBoys"];
const g = d["NumberOfBirthCertificatesForGirls"];
return {
// year: d.Year,
date: parse_date(d.Year, d.Month),
value: ((b - g) / (b + g)) * 100
};
})
Insert cell
Insert cell
Insert cell
Insert cell
import { SummaryTable } from "@observablehq/summary-table"
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