Public
Edited
May 9, 2023
1 fork
1 star
Insert cell
Insert cell
Insert cell
Plot.barY(timeseries, {x: "year", y: "population"})
.plot({x: {tickFormat: "", interval: checked ? 1 : undefined}})
Insert cell
timeseries = [
{year: 2014, population: 7295.290765},
{year: 2015, population: 7379.797139},
{year: 2016, population: 7464.022049},
{year: 2017, population: 7547.858925},
// {year: 2018, population: 7631.091040},
{year: 2019, population: 7713.468100},
{year: 2020, population: 7794.798739}
];
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