Giter Club home page Giter Club logo

jupyter-echarts's Introduction

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 v0.3.2+ and was embedded in pyecharts v0.1.9.5+.

Content

  1. echarts
  2. echarts-gl
  3. echarts-liquidfill
  4. echarts-wordcloud

Installation to jupyter

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

<html>
  <head>
    <meta charset="utf-8" />
	<style>
	  .citymap{
	  width: 100%;
	  height: 100%;
	  }
	</style>
  	<script src="https://pyecharts.github.io/jupyter-echarts/echarts/echarts.min.js"></script>
	<script src="https://echarts-maps.github.io/echarts-china-cities-js/echarts-china-cities-js/jiang1_xi1_nan2_chang1.js"></script>
  </head>
  <body>
	<div id='nan2_chang1' class='citymap'></div>
	<script src='https://echarts-maps.github.io/echarts-china-cities-js/demo.js'></script>
	<script>
	  make_city('南昌', 'nan2_chang1');
	</script>
  </body>
</html>

Usage with echarts

Development

Please get all depdencies

npm install -g gulp
npm install

Then build

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.

jupyter-echarts's People

Contributors

chenjiandongx avatar chfw avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.