Chart Suite provides file field formatters that automatically generate interactive charts, tables, and graphs from data in common file formats like CSV, TSV, HTML, and JSON. Site administrators can configure these formatters to display visualizations directly on a page when a file is viewed.
Chart Suite provides file field formatters to chart file data for tables, trees, and graphs. A variety of well-known textual file formats are supported, including comma-separated values (CSV), tab-separated values (TSV), HTML tables, and JSON tables, trees, and graphs in common array and object style schemas.
Uses
Site administrators may use the Chart Suite module, along with the core Field UI and View UI modules, to configure the way in which a file field's file data is presented. Once configured, the formatter automatically reads and presents interactive charts of a file's content when the user views a page containing the file field. Charts support line and area plots, scatter plots, bar and pie charts, and tree diagrams.
Chart Suite module could also be configured for use with the FolderShare module
Requirements
- PHP 8.x.
- The module includes a copy of the Structured Data API from the San Diego
Supercomputer Center (SDSC). The library is located in the "libraries" folder. - The module uses the free Google Charts service, which is accessed by
including a Javascript library served by Google. That library loads further
libraries on demand from Google. Due to the way Google Charts is structured
and its terms of service, its Javascript libraries cannot be served locally
so those files cannot be included in this module.
Demo
A. Visit seedmelab.org > Create Sandbox Website > Visit your sandbox site > Visit 'Data' > Visit 'Sample Folder' > Visit 'Vis Showcase' > Click to open any CSV, HTM or JSON file in a listing to see the visualization. The Chart Suite module parses these files and generates automatic visualization for supported file types.
B. Do it yourself by launching a sandbox site at simplytest.me then follow these steps
- Create a new content type, lets call it Chart
- Add a file field to 'Chart' content type, then allow CSV, HTM, HTML, JSON files
- Under Manage Display for the 'Chart' content type, change the file field formatter from generic to Chart Suite.
- Download a set of CSV, htm and JSON files for testing
- Add a new 'Chart' entity, upload files in CSV or JSON files
- View the newly added entity that should display a chart.
Acknowledgements
Developed by the San Diego Supercomputer Center (SDSC) at the University of California at San Diego (UCSD) and funded by the National Science Foundation (NSF) under Grant No. 1443083.Ask your assistant about Chart Suite
Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works
Depends on
Dependencies of the latest stable release
- field Drupal core
- file Drupal core
- jquery_ui_dialog Drupal core
- jquery_ui_menu Drupal core
- system Drupal core >=8.7
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.