The Visualization SDK makes it easy to write small Javascript apps on the top of GoodData APIs. The SDK also provides GoodData Platform visual extensibility - the ability to create custom data visualization widgets for your dashboards.
You can use Bower to manage this library. The result of the build is
in dist/gooddata[.min].js
. Result of the build is UMD compatible, you can use it both globally and as UMD module.
Follow the instructions below to set up your environment. Next, we recommend that you review the getting started tutorial, which shows you the whole process of creating the a custom visualization from scratch. After that you can modify and explore our examples.
NOTE: MacOS users can install Homebrew first and then run:
$ brew install git node yarn
$ git clone https://github.com/gooddata/gooddata-js.git
$ yarn install
$ gruntthe built library is created at
dist/gooddata.min.js
$ grunt devThis command starts the proxy that allows your script to communicate with
https://secure.gooddata.com
NOTE: For white-labeled organizations, you can set up your proxy to call a different backend server with $ grunt dev --backend={your-gooddata-server-url}
(use url without protocol prefix e.g. mybi.company.com
, not https://mybi.company.com
).
Congratulations! You are ready to build your first visualization. Learn how to do it with this tutorial.