Published
Edited
Feb 25, 2019
Fork of Untitled
1 fork
1 star
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
cellSize = 18
Insert cell
width = 1000
Insert cell
c_height = cellSize *9
Insert cell
l_width = 600
Insert cell
l_height = 500
Insert cell
legend_width = 150
Insert cell
legend_height = 20
Insert cell
timeWeek = d3.timeMonday
Insert cell
countDay = d => (d.getDay() + 6) % 7
Insert cell
Insert cell
format_stock = d3.format(".5")
Insert cell
format = d3.format("+.2")
Insert cell
formatDate = d3.timeFormat("%x")
Insert cell
formatDay = d => ['Sun','Mon','Tue','Wed','Thu','Fri','Sat'][d.getDay()]
Insert cell
formatMonth = d3.timeFormat("%b")
Insert cell
Insert cell
h_color = d3.scaleSequential(d3.interpolateRdYlGn).domain([-0.3,0.7])
Insert cell
axisScale = d3.scaleLinear()
.domain(h_color.domain())
.range([width-legend_width-margin.right, width-margin.right])
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
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