Published
Edited
Sep 16, 2020
1 fork
12 stars
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
latExt = d3.extent(nodes, function(d) { return d['LAT']; });
Insert cell
lonExt = d3.extent(nodes, function(d) { return d['LON']; });
Insert cell
rScale = d3.scaleSqrt()
.domain(d3.extent(nodes, function(d) { return d[scaleVar]; }))
.range([0, maxBubbleSize]);
Insert cell
scaleVar = 'ALAND';
Insert cell
margin = ({top: 20, right: 20, bottom: 20, left: 20})
Insert cell
height = 500
Insert cell
Insert cell
Insert cell
d3 = require("d3@5")
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