Published
Edited
May 11, 2021
11 stars
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
format = d3.format(",d")
Insert cell
width = 500
Insert cell
height = 500
Insert cell
radius = Math.min(width, height) / 2
Insert cell
minCircleRadius = 20
Insert cell
maxCircleRadius = 100
Insert cell
fileColor = "#e4e4e4"
Insert cell
//myColor = d3.scaleSequential().domain([0,1])
//.interpolator(d3.interpolateRainbow);

myColor = d3.scaleLinear().domain([0,1])
.range([ "#fdfed4","#006666"])//.range(["#ffffcc","#006666"])
Insert cell
folderColor = "#aaa"
Insert cell
d3 = require("d3@5")
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