Plot.plot({
title: "Gender Pay Gap Across the US, 2019",
height: 1000,
width: 800,
marginLeft: 70,
marginRight: 70,
marginTop: 50,
marginBottom: 70,
fy: {paddingInner: 0.03},
marks: [
Plot.density(data_total, { filter: (f)=>f.Gender=="Female", x: "TotalPay", y: "Gender", fy: "Education", stroke: "Gender" }),
Plot.ruleX([0])
]
})