Published
Edited
Aug 26, 2022
8 forks
Importers
23 stars
Insert cell
Insert cell
Insert cell
maxWidth = 700
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
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
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
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
Highcharts = {
const Highcharts = await require("highcharts");
await require("highcharts/highcharts-more.js");
await require("highcharts/highcharts-3d.js");

await require("highcharts/modules/exporting.js");
await require("highcharts/modules/export-data.js");
await require("highcharts/modules/accessibility.js");

await require("highcharts/modules/arc-diagram.js");
await require("highcharts/modules/histogram-bellcurve.js");
await require("highcharts/modules/bullet.js");
await require("highcharts/modules/cylinder.js");
await require("highcharts/modules/dependency-wheel.js");
await require("highcharts/modules/dumbbell.js");
await require("highcharts/modules/funnel.js");
await require("highcharts/modules/funnel3d.js");
await require("highcharts/modules/heatmap.js");
await require("highcharts/modules/item-series.js");
await require("highcharts/modules/lollipop.js");
await require("highcharts/modules/networkgraph.js");
await require("highcharts/modules/organization.js");
await require("highcharts/modules/pareto.js");
await require("highcharts/modules/pyramid3d.js");
await require("highcharts/modules/sankey.js");
await require("highcharts/modules/solid-gauge.js");
await require("highcharts/modules/streamgraph.js");
await require("highcharts/modules/sunburst.js");
await require("highcharts/modules/tilemap.js");
await require("highcharts/modules/timeline.js");
await require("highcharts/modules/treemap.js");
await require("highcharts/modules/variable-pie.js");
await require("highcharts/modules/variwide.js");
await require("highcharts/modules/vector.js");
await require("highcharts/modules/venn.js");
await require("highcharts/modules/windbarb.js");
await require("highcharts/modules/wordcloud.js");
await require("highcharts/modules/xrange.js");
return Highcharts;
}
Insert cell
blank = {
const figure = html`<div style="height: 400px; width:${Math.min(width, maxWidth)+'px'};">`;
Highcharts.chart(figure, {
credits: false, // removes watermark,
})
//return figure;
}
Insert cell

One platform to build and deploy the best data apps

Experiment and prototype by building visualizations in live JavaScript notebooks. Collaborate with your team and decide which concepts to build out.
Use Observable Framework to build data apps locally. Use data loaders to build in any language or library, including Python, SQL, and R.
Seamlessly deploy to Observable. Test before you ship, use automatic deploy-on-commit, and ensure your projects are always up-to-date.
Learn more