The Microsoft Power BI visuals project provides high quality data visualizations that you can use to extend Power BI. The project contains over 20 visualization types, the framework to run them, and the testing infrastructure that enables you to build high quality visualizations. The framework provides all the interfaces you need to integrate fully with Power BI's selection, filtering, and other UI experiences. The code is written in TypeScript so it's easier to build and debug. Everything compiles down to JavaScript and runs in modern web browsers. The visuals are built using D3 but you can use your favorite technology like WebGL, Canvas, or SVG. This gives you everything you need to build custom visualizations for Power BI.
build
folder representing pre-built version of Power BI visuals library so that you can start using them right away.src
folder includes project source code for your experiments and if you will desire to create a new visual.src\Clients\PowerBIVisualsPlayground
is a sample application which could be used to try the existing visualization types or as an example how to run visuals you create.
There are many ways in which you can contribute.
We plan to accept community code contributions including new chart types, bug fixes, and additional features for existing chart types. We're still working out the contribution guidelines. Hold tight, we'll update you here when we've formalized the guidelines.
In the meantime, you can contribute to Power BI Visuals in a few different ways:
- Submit bugs by opening an Issue.
- Contribute to discussions on StackOverflow.
- Follow the Power BI Developer blog for updates.
To build the library and run sample application you will need:
- A Windows 8.1 64-bit machine with minimum 4 GB of RAM
- Visual Studio Community 2013 (Free for use)
- TypeScript 1.4 for Visual Studio 2013
- Git
- NodeJS
In order to run unit tests you will also need:
- Chutzpah JavaScript test runner:
- Command Line Runner nuget
- chocolatey
- jasmine-jquery that should be placed to "PowerBI-Visuals\src\Clients\Externals\ThirdPartyIP\JasmineJQuery"
In order to build the Power BI visuals, ensure that you have Git and Node.js installed.
Clone a copy of the repo:
git clone https://github.com/Microsoft/PowerBI-visuals.git
Change to the PowerBI-visuals directory:
cd PowerBI-visuals
Install dev dependencies:
npm install
Use the following commands to build and test:
npm run build # Build PowerBI Visuals into `built` folder
npm test # Run unit tests (requires 'chutzpah', see Prerequisites)
To run sample app open src\PowerBIVisualsClient.sln
in Visual Studio and then run PowerBIVisualsPlayground project.
Copyright (c) 2015 Microsoft
See the LICENSE file for license rights and limitations (MIT).