// location.href //returns the href (URL) of the current page
// location.hostname //returns the domain name of the web host
location.pathname//returns the path and filename of the current page
// location.protocol //returns the web protocol used (http: or https:)
//location.assign() //loads a new document
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.