Published
Edited
Nov 19, 2018
1 fork
Insert cell
Insert cell
chart = {
const width = 960;
const height = 600;

const geoGenerator = d3.geoPath()
.projection(projection);
const svg = d3.select(DOM.svg(width, height))
projection.fitExtent([[20, 20], [960, 600]], melbourne);
svg.append('g').selectAll('path')
.data(melbourne.features)
.enter()
.append('path')
.attr('d', geoGenerator)
return svg.node()
}
Insert cell
Insert cell
string_interpolation = `Test ${melbourne.type}`
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