Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Drupal D3 module documentation [closed]

I am attempting to create some visualisations in Drupal, and found the D3 module. However, I can't find much documentation. Could someone point me in the direction of a guide to using the module, or explain how to use it?

I have installed the module as described here, but I don't know how to get a chart to display on a page (I haven't used Drupal much either).

Basically I would like to know:

  1. How does it work with Drupal?
  2. What all Chart styles does it support?
  3. How does it integrate with Drupal's Views and Panel in terms of generating visuals?

Thanks.

like image 540
hajamie Avatar asked Dec 04 '22 05:12

hajamie


1 Answers

The d3.js module indeed seems to suffer some documentation issues. Moreover it still doesn't have an official release so far (only dev versions). The d3.js library that this module integrates with seems to become more and more popular.

Refer to the Maintenance Scorecards for over 20 criteria to consider when selecting a module to create charts. By doing so, you might want to consider other charts related modules that can be used for creating charts in Drupal.

The number of reported installs indicate that either the Chart module or the Charts module is often considered as a viable module for creating charts in Drupal. For both modules quite some documentation is available also.

The Chart module's project page contains some information that indicates it is "being depreciated and users are recommended to move over to the Charts module". Though most recently some comments in the chart issue queue contain some details that illustrate that that depreciation is being reconsidered. Refer to that issue queue for more details on that.

If needed, do not hesitate to create an issue in the module's issue queue. As an alternative create a new question on this site (or Drupal Answers) and find a way to let me know about it (eg via some comment in any of my questions or answers around here).

Disclosure: I'm the maintainer of both modules Chart and Charts, and the author of the documentation of charts related modules mentioned in my answer also.

Note: In a future release of the chart module, support for the d3.js (as a charting library) is expected to be added also.

like image 83
Pierre.Vriens Avatar answered Dec 29 '22 00:12

Pierre.Vriens