Skip to content
This repository has been archived by the owner on Aug 12, 2020. It is now read-only.

UNMAINTAINED: An open source data visualization platform helping everyone to create simple, correct and embeddable charts in minutes.

License

Notifications You must be signed in to change notification settings

industrydive/datawrapper

 
 

Repository files navigation

Datawrapper

Datawrapper is a tool that enables anyone to create enticing visualizations in seconds, without any programming skills. This is Industry Dive's fork which is based on the Washington Post's fork of roughly version 1.7.9.

##Docker Install Adjust your config.yaml and then:

cd /path/to/datwrapper
docker build --tag="industrydive/datawrap" . 
docker run -P --name datawrap -v `pwd`:/srv/datawrapper -i -t -p 80:80 industrydive/datawrap

##Installation instructions:

Here are the published instructions which have a few errors/omissions (pull request is pending merge w/ origin) so below are our instructions, geared towards using MAMP for php/apache/mySQL (but anything will do).

  • Install MAMP
  • In /Applications/MAMP/htdocs clone this repo
  • In MAMP preferences, point Apache to datawrapper/www
  • In MAMP preferences, make sure you're using PHP > 5.2 (5.5.X is stable)
  • Create the configuration file by copying config.yaml.template to config.yaml, edit the file, and change domain and chart_domain and the email addresses, as well as s3 configuration and, if using, ldap settings.
  • Create a new MySQL database called datawrapper. Then, initialize the table schema using /lib/core/build/sql/schema.sql. In MAMP, this is straightforward through the phpMyAdmin SQL backend.
  • Copy lib/core/build/conf/datawrapper-conf.php.master to lib/core/build/conf/datawrapper-conf.php and update your database settings (dbname, user, password) according to your server configuration.
  • Install plugins through php scripts/plugin.php install pluginname. The plugins you need are:
    • admin*
    • core*
    • publish-s3
    • theme-wapo
    • visualization*
  • Run ./dw.js/make
  • Locally with MAMP, navigate to http://localhost:8888/ and get charting!

Known bugs

  • Some versions of Firefox: Clicking on chart create button redirects to homepage. #6
  • Some versions of Firefox (noticed on v. 30): Upload data button gives alert "Error: false" and does not upload the data. #7
  • In some cases, logging in from / which redirects to /login results in a redirect loop error. #5

It draws inspiration from ManyEyes and GoogleCharts but remains entirely open-source and independent from a third-party server.

It was created by Mirko Lorenz, Nicolas Kayser-Bril and Gregor Aisch and was funded by ABZV.

Contact

Translators

If you want to contribute translations, contact us via Crowdin.net.

About

UNMAINTAINED: An open source data visualization platform helping everyone to create simple, correct and embeddable charts in minutes.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 54.5%
  • JavaScript 34.7%
  • HTML 4.5%
  • CSS 4.3%
  • CoffeeScript 1.2%
  • Python 0.3%
  • Other 0.5%