Unlisted
Edited
Apr 7
2 forks
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
zipcodes[0]
Insert cell
Insert cell
Insert cell
Insert cell
// Your code here.
Insert cell
Insert cell
// Your code here.
Insert cell
Insert cell
// Your code here.
Insert cell
Insert cell
// Your code here.
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
// Your code here.
dt = null // Replace this with a call to aq.from
Insert cell
Insert cell
dt.view({ limit: 10 }) // The "view" method is only available if you import aq as shown above
Insert cell
Insert cell
Insert cell
// Your code here.
Insert cell
Insert cell
// Your code here.
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
population.view(10)
Insert cell
Insert cell
populationWide.view(10)
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
// Your code here.
Insert cell
Insert cell
// Your code here.
Insert cell
Insert cell
Insert cell
co2untidy.view(6)
Insert cell
Insert cell
popUntidy.view(6)
Insert cell
Insert cell
gdpUntidy.view(6)
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
// Your code here.
mergedTable = null
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
cleaned = mergedTable
.derive({
population: aq.escape(d => reverseFormatNumber(d.population).toFixed()),
gdp: aq.escape(d => reverseFormatNumber(d.gdp).toFixed()),
co2: aq.escape(d => reverseFormatNumber(d.co2))
})
Insert cell
Insert cell
Insert cell
cleaned.view(6)
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

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