Published
Edited
Nov 19, 2018
1 fork
Insert cell
Insert cell
map = {
const width = 400;
const height = 400;
const svg = d3.select(DOM.svg(width, height))
// use the bounds object to fit your projection
svg.selectAll('circle').data([data]).enter().append('circle')
// your code here
return svg.node();
}
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