nswdpc/silverstripe-datawrapper

Module providing Datawrapper chart and map support

Maintainers

Package info

github.com/nswdpc/silverstripe-datawrapper

Type:silverstripe-vendormodule

pkg:composer/nswdpc/silverstripe-datawrapper

Statistics

Installs: 1 246

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 3

v1.0.0 2024-05-13 07:52 UTC

This package is auto-updated.

Last update: 2026-03-23 07:11:22 UTC


README

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.

Features

  • 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.

Requirements

See composer.json

Installation

composer require nswdpc/silverstripe-datawrapper

License

BSD-3-Clause

Documentation

Further documentation for content authors is available.

Configuration

Enable the element

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'

Webhooks

See webhooks documentation for further information.

Maintainers

  • PD Web Team

Bugtracker

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.

Development and contribution

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.