Published
Edited
Apr 2, 2019
2 forks
Insert cell
Insert cell
Insert cell
createMap = function(svg) {
const data = [144.960930,-37.797831]
const projection = d3.geoEqualEarth();
projection.fitExtent([[40,40],[width,height]],bounds)
svg
.append('circle')
.attr('cx', projection(data)[0])
.attr('cy', projection(data)[1])
.attr('r',5)
.attr('fill','red');
}
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