polychart2

Version 2 of Polychart.js

  • Owner: Polychart/polychart2
  • Platform:
  • License:: MIT License
  • Category::
  • Topic:
  • Like:
    0
      Compare:

Github stars Tracking Chart

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

Main metrics

Overview
Name With OwnerPolychart/polychart2
Primary LanguageJavaScript
Program languagePython (Language Count: 6)
Platform
License:MIT License
所有者活动
Created At2012-10-01 19:08:00
Pushed At2019-09-02 14:50:31
Last Commit At2017-01-19 08:42:08
Release Count8
Last Release Namev1.2 (Posted on 2013-11-29 18:21:00)
First Release Namev1.0 (Posted on 2013-04-09 10:56:27)
用户参与
Stargazers Count373
Watchers Count24
Fork Count42
Commits Count637
Has Issues Enabled
Issues Count19
Issue Open Count10
Pull Requests Count0
Pull Requests Open Count0
Pull Requests Close Count0
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private