Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Charts and Graphs is a developer module that provides a unified API for the integration of various charting solutions into Drupal. It's also a base module for the Views Charts module.
To get full list of charting engines and chart types implemented in an installed version, use this code snippet:
$apis = charts_graphs_apis ();
echo '<pre>' . print_r( $apis, TRUE) . '</pre>'; // or use dpm($apis); if you have devel module.
exit();
Comments
api name change
Version 6.x-2.3. This is now charts_graphs_apis ()
any example charts to see?
can someone provide a live example of these different types of charts so we can see what they look like?
merci and thank you kindly
Subscribing.
Very keen to see examples as currently building an Analytics type dashboard and trying to decide which graph APIs to use.
Thanks
examples?
.. yes, me too. In particular - is there a "bubble" type chart? That is - X,Y,N data showed as circles ("bubbles") which are located at X,Y and are bigger or smaller based on the value of N...
Bubble charts available elsewhere
I have not heard of the bubble charts you're referring to being available in Drupal. However they are available in Google Docs in such a way that you could embed one into a page: https://developers.google.com/chart/interactive/docs/gallery/motionchart
Google Docs does support scraping data from domains so it should be possible to hack something together to scrape the data on your site, feed it into this Motion chart widget which is then embedded on your page.
The widget was originally developed here: http://www.gapminder.org/. I have no idea I'm afraid what turning this into a Drupal module would entail.