Published
Edited
Apr 10, 2022
6 stars
Insert cell
Insert cell
Insert cell
Insert cell
h = d3.scaleSqrt()
.domain([0,100])
.range([0, 30])
Insert cell
path = shape2path.polygon()
.attr("points", d => d);
Insert cell
Insert cell
margin = ({top:50, bottom:50, left:20, right:20})
Insert cell
height = width*2/3
Insert cell
width = 500
Insert cell
dirtysnow = "#9E9C98"
Insert cell
snow = "#F0EFED"
Insert cell
mountain_developed = "#9B9583"
Insert cell
mountain = "#6F522F"
Insert cell
background= "#F4EEE2"
Insert cell
textcolor = "#442819"
Insert cell
Insert cell
shape2path = require("shape2path@3")
Insert cell
import {wrap_text_nchar} from "@ben-tanen/svg-text-and-tspan-word-wrapping"
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