Drupal is a registered trademark of Dries Buytaert
drupal 11.3.7 Update released for Drupal core (11.3.7)! drupal 11.2.11 Update released for Drupal core (11.2.11)! drupal 10.6.7 Update released for Drupal core (10.6.7)! drupal 10.5.9 Update released for Drupal core (10.5.9)! cms 2.1.1 Update released for Drupal core (2.1.1)! drupal 11.3.6 Update released for Drupal core (11.3.6)! drupal 10.6.6 Update released for Drupal core (10.6.6)! cms 2.1.0 Update released for Drupal core (2.1.0)! bootstrap 8.x-3.40 Minor update available for theme bootstrap (8.x-3.40). menu_link_attributes 8.x-1.7 Minor update available for module menu_link_attributes (8.x-1.7). eca 3.1.1 Minor update available for module eca (3.1.1). layout_paragraphs 2.1.3 Minor update available for module layout_paragraphs (2.1.3). ai 1.3.3 Minor update available for module ai (1.3.3). ai 1.2.14 Minor update available for module ai (1.2.14). node_revision_delete 2.0.3 Minor update available for module node_revision_delete (2.0.3). moderated_content_bulk_publish 2.0.52 Minor update available for module moderated_content_bulk_publish (2.0.52). klaro 3.0.10 Minor update available for module klaro (3.0.10). klaro 3.0.9 Minor update available for module klaro (3.0.9). layout_paragraphs 2.1.2 Minor update available for module layout_paragraphs (2.1.2). geofield_map 11.1.8 Minor update available for module geofield_map (11.1.8).

The Charts AI Agents module provides a plugin (with hopes to include more) that can send information about your Drupal site to a chosen AI provider to have it help you create charts.

Dependencies

  1. The AI Core module, with at least one AI Provider to be installed and configured
  2. The AI Agents module, which includes the Views Agent plugin that this module extends
  3. The Charts module, which is needed to display a chart using Views.
  4. A charting submodule, such as Charts Highcharts, which is needed to display a chart using Views.

Documentation

Please start by using the documentation provided by the AI Agents module, available here: https://project.pages.drupalcode.org/ai_agents/, and the Charts module, available here: https://www.drupal.org/docs/contributed-modules/charts.

Once you have the AI Agents module installed and configured, you can create your Charts AI Agent, following the same instructions for the Views Agent.

To create a chart, you either need to use the Explore page provided by the AI Agents module, which will be available at /admin/config/ai/agents/explore?agent_id=charts_views_agent (although the) ID referenced in that link will be the machine name of your agent), or you can use the AI Chatbot, accessible as a Block you will need to place on your site.

Here's an example prompt you can provide to the AI Chatbot to create a new chart:

Please create a view of Chart Usage Statistics nodes using the chart style plugin. Use the title field as the label and the 7.x field as data provider. Make the chart a line chart using the Highcharts library.


Activity

Total releases
2
First release
Jan 2025
Latest release
1 year ago
Release cadence
59 days
Stability
0% stable

Releases

Version Type Release date
1.0.0-alpha1 Pre-release Mar 26, 2025
1.0.x-dev Dev Jan 26, 2025