Published
Edited
Oct 18, 2019
3 stars
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
// show selected section as html
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
// get sections with API using &prop=sections
Insert cell
Insert cell
// parsing
Insert cell
Insert cell
Insert cell
Insert cell
// find tables if they exist using parser result node
Insert cell
Insert cell
// find unordered lists if they exist
Insert cell
Insert cell
// first list element if it exists and innerHTML
Insert cell
Insert cell
Insert cell
// list elements for first unordered list (if it exists)
Insert cell
Insert cell
// first list element for first unordered list and innerHTML
Insert cell
Insert cell
Insert cell
// list elements in first unordered list
Insert cell
Insert cell
// display first unordered list
Insert cell
Insert cell
// find paragraphs if the exists
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
// Array.from(rows, r => r.querySelector("td:nth-child(3)").textContent.trim())
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
// wikipedia api property list
Insert cell
Insert cell
Insert cell
// display_data - format array for table display
Insert cell
Insert cell
Insert cell
Insert cell
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