Published
Edited
May 8, 2019
2 stars
Insert cell
Insert cell
Insert cell
Insert cell
color = scaleCluster()
.domain(Data.map(d => d.Score))
.range(["#2166ac","#4393c3","#92c5de","#b6d9ec","#ffbba9","#f49582","#d6604d","#b2182b"])
Insert cell
clusters = color.clusters()
Insert cell
scaleCluster = require("d3-scale-cluster/dist/d3-scale-cluster.min.js")
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
import {serializeSVG} from "@distantshape/code-snippets"
Insert cell
DOM.download(serializeSVG(chart), null, "Download as SVG")
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