Public
Edited
Nov 20, 2023
Insert cell
Insert cell
Offices = FileAttachment("AllOfficesCount - Sheet1 (1).csv").csv({typed: true})
Insert cell
Insert cell
Plot.plot({
y: {
grid: true,
label: "Offices held by top Roman families (nomen)"
},
marks: [
Plot.areaY(Offices, Plot.stackY({offset: null, x: "Rangeid", y: "Count_total", fill: "Nomen", title: "Nomen"})),
Plot.ruleY([0])
]
})
Insert cell
Insert cell
Insert cell
Plot.plot({
y: {
grid: true,
label: "First names over time, normalized."
},
marks: [
Plot.areaY(Offices, Plot.stackY({order: "sum", offset: "silhouette", x: "Rangeid", y: "Count_total", fill: "Nomen", title: "Nomen"}))
]
})
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
import {swatches as Swatches} from "@d3/color-legend"
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
AllOfficesCount5families.csv
Type Table, then Shift-Enter. Ctrl-space for more options.

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