Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/pyecharts/jupyter-echarts

Bring echarts libraries to jupyter notebooks
https://github.com/pyecharts/jupyter-echarts

Last synced: 6 days ago
JSON representation

Bring echarts libraries to jupyter notebooks

Awesome Lists containing this project

README

        

# Jupyter-Echarts

It integrates echarts to jupyter notebook as nbextensions and echarts libraries will be served from http://localhost:8888/nbextensions/echarts/.

No action is required from pyecharts users. It is auto-installed in [pyecharts](https://github.com/pyecharts/pyecharts) v0.3.2+ and was embedded in [pyecharts](https://github.com/pyecharts/pyecharts) v0.1.9.5+.

## Content

1. echarts
1. echarts-gl
1. echarts-liquidfill
1. echarts-wordcloud

## Installation to jupyter

```shell
jupyter nbextension install echarts
jupyter nbextension enable echarts/main
```

## Alternative usage

For github hosted files, please use `https://pyecharts.github.io/jupyter-echarts/` prefix, put the folder name `echarts` and place the actual javascript file name. For example, the url for a github hosted `echarts.min.js` is https://pyecharts.github.io/jupyter-echarts/echarts/echarts.min.js.

### Example

```




.citymap{
width: 100%;
height: 100%;
}








make_city('南昌', 'nan2_chang1');

```

![Usage with echarts](https://echarts-maps.github.io/echarts-china-cities-js/nanchang.png)

## Development

Please get all depdencies

```shell
npm install -g gulp
npm install
```

Then build

```shell
gulp
```

You will then obtain all echarts libraries in echarts folder.

## License

This bundling code is MIT license
The echarts libraries are under BSD-3 license of Baidu Inc.