Published
Edited
Jun 3, 2021
Insert cell
#
Insert cell
width = 50
Insert cell
height = 50
Insert cell
colors = ({
green: "#71A119",
red: "#D5341B",
blue: "#0F4999",
black: "#2B2828",
yellow:"#C5B856",
beige:"#E5DECD"
})
Insert cell
chart = {

const svg = d3.create("svg")
.attr("viewBox", [0,0, width, height]);
svg.append("rect")
.attr("id", "cream-background")
.attr("width", "100%")
.attr("height", "100%")
.attr("fill", colors.beige)
return svg.node();
}
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