polychart2

Version 2 of Polychart.js

  • 所有者: Polychart/polychart2
  • 平台:
  • 许可证: MIT License
  • 分类:
  • 主题:
  • 喜欢:
    0
      比较:

Github星跟踪图

Polychart2.js

Polychart2.js is an easy-to-use yet powerful JavaScript graphing library. It
takes many ideas from the Grammar of Graphics and the R library ggplot2, and
adds interactive elements to take full advantage of the web.

Key Features

Static Charts

Charts are defined in Polychart2 by providing a combinations of

  • one or more layers, defining the "mark" or "chart type" to be used
  • one or more aesthetic mappings, defining which data columns will map to
    which visible features like position or color (these are known as
    aesthetics)
  • scales, definining how data columns will map to aesthetics (e.g. linear or
    log scale? what numeric values map to which colour?)
  • coordinates, defining which coordinate sytem to plot the chart in (typically
    cartesian or polar)

The full list of supported layers, aesthetics, scales and coordinates and how
they are specified can be found in the documentations.

Data Processing

The Polychart2 library can perform simple statistical calculations based on
existing data. For example, it is possible to plot the total number of sales
per region by assigning the x-mapping to region and y-mapping to
sum(sales).

These statistical calculations can happen in the front-end, right in the
browser, can be done in the backend with a server that can communicate with
the front end.

The full list of supported operations and integration details are provided in
the documentations.

Interaction

Charts created by Polychart2 is interactive by nature, and uses an event-based
model for interaction. Events are thrown when the underlying data changes, or
when a user interacts with the chart. Charts can be modified as a response to
events. See the documentations for more details.

Downloads

Dependencies

Polychart2.js uses the following libraries internally.

Other libraries in the lib/ directory are included for the test and example
scripts.

Testing

When developing locally, note that your browser may enforce strict permissions
for reading files out of the local file system. Additionally for testing
backend data processing functionalities, server database querying
functionalities are used. For those examples, a tornado server and a
sqlite3 database is included. To run the server run:

python server.py

Once this is running, go to http://localhost:8888/.

License

MIT

主要指标

概览
名称与所有者Polychart/polychart2
主编程语言JavaScript
编程语言Python (语言数: 6)
平台
许可证MIT License
所有者活动
创建于2012-10-01 19:08:00
推送于2019-09-02 14:50:31
最后一次提交2017-01-19 08:42:08
发布数8
最新版本名称v1.2 (发布于 2013-11-29 18:21:00)
第一版名称v1.0 (发布于 2013-04-09 10:56:27)
用户参与
星数373
关注者数24
派生数42
提交数637
已启用问题?
问题数19
打开的问题数10
拉请求数0
打开的拉请求数0
关闭的拉请求数0
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?