This module provides an iframe element to embed Datawrapper charts and maps on a page, as an Elemental content block, along with the script to enable responsiveness.
- Supports Locator Maps, Charts, Chloropeth Maps
- Responsive iframe support
- Your content editors can edit charts and maps in Datawrapper and create corresponding elements in pages to display these
- Datawrapper custom webhook support. See Configuration notes below and Webhook notes for more information.
See composer.json
composer require nswdpc/silverstripe-datawrapperFurther documentation for content authors is available.
Add the following to a project configuration,e.g. 'app/_config/datawrapper.yml` to enable the content block on Page records:
Page:
allowed_elements:
- 'NSWDPC\Elemental\Models\Datawrapper\ElementDatawrapper'See webhooks documentation for further information.
- PD Web Team
We welcome bug reports, pull requests and feature requests on the Github Issue tracker for this project.
Please review the code of conduct prior to opening a new issue.
If you would like to make contributions to the module please ensure you raise a pull request and discuss with the module maintainers.
Please review the code of conduct prior to completing a pull request.