Published
Edited
Feb 27, 2018
Insert cell
Insert cell
Insert cell
columns = ["Subject", "Year 1", "Year 2", "Year 3"]
Insert cell
data = [
["Geography", 22, 68, 65],
["English", 45, 55, 52],
["Math", 98, 92, 90],
["Science", 66, -60, 72]
]
Insert cell
Insert cell
chart = new hpccChart.Column()
.target(chartDiv)
.resize({width, height:480})
Insert cell
chart
.columns(columns)
.data(data)
.render()
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