Public
Edited
Dec 5, 2022
3 stars
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
df2.numRows()
Insert cell
Insert cell
Insert cell
Insert cell
get_gendered_entities("Sociology")
Insert cell
Insert cell
Insert cell
get_default = () => {
const params = new URL(document.URL).searchParams;
const defaults = {
wikipedia: "en.wikipedia.org",
article: "Sociology",
startyear: 1950
} ;
if (params.has("wikipedia")) {
defaults.wikipedia = params.get("wikipedia")
}
if (params.has("article")) {
defaults.article = params.get("article")
}
if (params.has("startyear")) {
defaults.startyear = params.get("startyear")
}
return defaults
}
Insert cell
Insert cell
Insert cell
colormapping = ({
male: "#F27438",
female: "#046C9A",
'transgender female': "#3C9AB2",
'transgender male': "#E1AF00",
'non-binary': "#008D44"
})
Insert cell

One platform to build and deploy the best data apps

Experiment and prototype by building visualizations in live JavaScript notebooks. Collaborate with your team and decide which concepts to build out.
Use Observable Framework to build data apps locally. Use data loaders to build in any language or library, including Python, SQL, and R.
Seamlessly deploy to Observable. Test before you ship, use automatic deploy-on-commit, and ensure your projects are always up-to-date.
Learn more