Public
Edited
May 19
Insert cell
Insert cell
data = FileAttachment("Distribution of Taxable Wealth of Male Household Heads in Massachusetts@1.csv").csv({typed: true})
Insert cell
data1 = data.columns.slice(1)
.flatMap((Percent) => data.map(({ Year, [Percent]: Wealth }) => ({ Year, Percent, Wealth })));
Insert cell
Insert cell
second_graph = FileAttachment("redone_for_formatting.csv").csv({typed: true})
Insert cell
second_graph_1 = second_graph.columns.slice(1)
.flatMap((Percent) => second_graph.map(({ Year, [Percent]: Wealth }) => ({ Year, Percent, Wealth })));
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