observable-framework-lib-echarts
Library: Apache ECharts
Observable Framework documentation: Library: Apache ECharts Source: https://observablehq.com/framework/lib-echarts
Apache ECharts, an open-source JavaScript visualization library, is available by default as echarts in Markdown. You can also import it explicitly like so:
import * as echarts from "npm:echarts";
To use ECharts, declare a container element with the desired dimensions, display it, and then call echarts.init.
const myChart = echarts.init(display(html`<div style="width: 600px; height:400px;"></div>`));
myChart.setOption({
title: {
More from spqw/skill-observable-framework
observable-framework-lib-deckgl
Using Deck.gl in Observable Framework for large-scale geospatial data visualization.
11observable-framework-lib-mapbox-gl
Using Mapbox GL JS in Observable Framework for vector tile maps.
4observable-framework-jsx
Using JSX (React components) in Observable Framework pages.
3observable-framework-files
Working with files in Observable Framework — file attachments, file-based routing, and FileAttachment API.
3observable-framework-input-range
Range slider input component in Observable Framework — select a numeric value.
3observable-framework-lib-tex
Using TeX/LaTeX in Observable Framework for mathematical typesetting.
3