Published
Edited
Jul 1, 2019
Insert cell
Insert cell
Insert cell
height=300
Insert cell
x= d3.scaleBand()
.domain([data])
.range([0,width])
.paddingInner(0.1)
Insert cell
y= d3.scaleLinear()
.domain([0,d3.max(data)])
.range([0,height])
Insert cell
chart={}
Insert cell
d3= require ("https://d3js.org/d3.v5.min.js")
Insert cell
d3scale=require("https://d3js.org/d3-scale.v2.min.js")
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