Published unlisted
Edited
Mar 25, 2022
1 fork
Insert cell
Insert cell
Insert cell
Insert cell
actColor = d3.scaleSequentialSqrt([0,290], colorsAct)
Insert cell
endColor = d3.scaleSequentialSqrt([0,170], colorsEnd)
Insert cell
path = d3.geoPath()
Insert cell
Insert cell
d3 = require("d3@6")
Insert cell
Insert cell
topojson = require("topojson-client@3", "topojson-server@3")
Insert cell
colorsEnd = d3.interpolateOranges
Insert cell
colorsAct = d3.interpolateGreens
Insert cell
import {Legend, Swatches} from "@d3/color-legend"
Insert cell
Insert cell
Insert cell
africa = FileAttachment("africa2@10.json").json()
Insert cell
final = link(africa,languages)
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