Published
Edited
Jun 1, 2020
1 fork
1 star
Insert cell
Insert cell
series = [
{ label: 'Poor', percentage: 24.5, color: '#D7354A' },
{ label: 'Reasonable', percentage: 8.2, color: '#F9D118' },
{ label: 'Well Distributed', percentage: 67.3, color: '#309D82' },
]
Insert cell
chart = new StackedSingleBar({ series: [
{ label: 'Poor', percentage: 64.5, color: '#D7354A' },
{ label: 'Reasonable', percentage: 8.2, color: '#F9D118' },
{ label: 'Well Distributed', percentage: 47.3, color: '#309D82' },
],
width: 350 }
)
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