access_h1_attr_id=d3.select("h1").attr("id")// see h1's attr, in this case only global attributes https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes
d3.select("h1").property("textContent")// textContent is a property not attr
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.