Published
Edited
Feb 3, 2018
1 fork
13 stars
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
// maximum error value by which to normalize the color scale
// all error values above this value will be clamped
maxError = 5
Insert cell
// charge strength of particles
// -30 -> the default used in d3-force
strength = -30
Insert cell
// exponent applied to distance in force calculation
// 1.0 -> inverse linear law (as in d3-force)
// 1.5 -> inverse square law (as in physics)
exp = 1
Insert cell
Insert cell
Insert cell
Insert cell
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