Published
Edited
Sep 22, 2018
Fork of Bar chart
2 stars
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
picasso.chart({
element: document.querySelector('#container'),
data,
settings: {
scales: {
y: {
data: { fields: ['Sales Actual', 'Sales Target'] },
invert: true,
include: [0]
},
x: { data: { extract: { field: 'Month' } }, padding: 0.3 },
},
components: [{
type: 'axis',
dock: 'left',
scale: 'y'
},{
type: 'axis',
dock: 'bottom',
scale: 'x'
},
bars(0), bars(1), bars(2)
]
}
})
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