能够将 HTML 表格转换成图表的jQuery插件:Chartinator

技术分享点这里

 

一个jQuery 插件能够将HTML 表格转换成图表,使用 Google Charts 实现。

技术分享

Chartinator当前支持以下特性:

  • Creation of the following chart types using Google ChartsExtraction of data from HTML tables, Google spreadsheets, and JavaScript arrays
    • Bar Chart
    • Pie Chart
    • Column Chart
    • Calendar
    • Geo Chart
    • Table Chart with data column formatter
  • Accessible data - Using HTML tables as data sources makes data accessible to screen readers and searchbots
  • Showing and hiding of HTML tables accessibly
  • Manipulation of data extracted from HTML tables and Google Sheets using JavaScript arrays
  • Transposition of data - swapping of rows and columns
  • Resizing of charts on screen resize - Responsive Web Design
  • Chart aspect ratio control
  • Customization of chart tooltips and annotations
  • Customization of all Google Chart options - Fonts, colors, chart formatting, etc.

https://github.com/jbowyers/chartinator

郑重声明:本站内容如果来自互联网及其他传播媒体,其版权均属原媒体及文章作者所有。转载目的在于传递更多信息及用于网络分享,并不代表本站赞同其观点和对其真实性负责,也不构成任何其他建议。