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 = Object.assign(new Map(d3.csvParse(await FileAttachment("NonCOVIDdata.csv").text(), ({STATE_NAME, TotalBeds, POPULATION, PerExpected}) => [STATE_NAME, [+TotalBeds/+POPULATION, +PerExpected]])), {title: ["Hospital Beds", "Percentage of Expected Deaths"]})
//reads csv file and turns into data map object
Insert cell
Insert cell
Insert cell
Insert cell
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