Public
Edited
Apr 13, 2023
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
data_female_semidominant.map((d) => d.disease)
Insert cell
Insert cell
Insert cell
data_male_semidominant.map((d) => d.disease)
Insert cell
Insert cell
data_neutral.map((d) => d.disease)
Insert cell
Insert cell
Insert cell
Insert cell
formatData = (d, index, array) => {
const disease = d["Disease/condition"];
const daly = d["2015 DALY (M)"];
const dalyLog10 = Math.log10(d["2015 DALY (M)"] * 1_000_000);
const funding = d["Actual 2019 $ (M)"];

return { disease, daly, dalyLog10, funding };
}
Insert cell
Insert cell
import { swatches as Swatches } from "@d3/color-legend"
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