PowerBI-visuals-core 0,1,0,0 travis-ci gulp npm webpack

This library contains the Power BI visuals such as the Bar chart, Column chart etc and the visual framework.

2 years after MIT

Note: this repository was recently moved from PowerBI-Visuals. This repository contains information about the core PowerBI Visuals and reference for custom visuals developed using the old method / tools.

If you are creating a new custom visual it is highly recommended that you use the new api / tools learn more

Microsoft Power BI visuals Core

Build status Build Status

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.

What is included

  1. Source code of all the visuals used in Power BI.
  2. A Playground app to help you try out the existing visuals, and experiment with the ones you have created.

Getting Started


To build the library and run the sample application you will need:

  • Git
  • Node.js (>= 4.x <= 5.x)
  • Recommended IDE - Visual Studio Community 2015 (Free for use)
    • Be sure to install the "Microsoft Web Developer Tools" optional feature. To install, go to Add/Remove Programs, right-click on Visual Studio, select Change, then Modify. Check the "Microsoft Web Developer Tools" checkbox and finish the install.
    • Ensure that Visual Studio is not using previous version of Node.js. Go to Tools > Options, then Projects and Solutions > External Web Tools. You can remove old path and add folder with the latest Node.js, or just leave $(PATH) and move it above all folders, if PATH environment variable contains path of the latest Node.js.
    • You can install VSIX Package and use Visual Studio Template from it to create new Visual.

One-Time Setup

In order to build the Power BI visuals, ensure that you have Git and Node.js installed.

Install gulp if not present:

npm install -g gulp

Clone a copy of the repo:

git clone https://github.com/Microsoft/PowerBI-visuals-core.git

Change to the PowerBI-visuals-core directory:

cd PowerBI-visuals-core

Install dev dependencies:

npm install # This command will install all necessary modules

Running PlayGround from Visual Studio

Make sure you first follow the Prerequisites & Onetime Setup

To run sample app:

  1. Open src\PowerBIVisuals.sln in Visual Studio then under src\Clients\PowerBIVisualsPlayground, right click on standalone.html file and select 'Set As Start Page'.

  2. Right click on the project root folder(PowerBIVisualsPlayground) then select 'Property Pages'. In the window opened select 'Build' and then in 'Before running startup page' select 'No Build'.

  3. Right click on PowerBIVisualsPlayground and 'Set as Startup Project'

  4. Run "build" task from "Task Runner Explorer" window.

  5. Ctrl + F5 to launch the Playground.

Running PlayGround without Visual Studio

Make sure you first follow the Prerequisites & Onetime Setup

Use the following command to run sample app:

gulp playground # Build and run sample app with Webpack dev server (live reload feature)

Building Power BI visuals from command line

Make sure you first follow the Onetime Setup

Use the following command to build Power BI visuals from command line:

gulp build # Build projects and tests

Running Unit Tests

Use the following command to build and run unit tests:

gulp test # Build and run unit tests

How to Engage, Contribute and Provide Feedback

There are many ways in which you can contribute to Power BI visuals:

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.



Copyright (c) 2016 Microsoft

See the LICENSE file for license rights and limitations (MIT).

Top Contributors

ignatvilesov kamilzakiev spatney vtkalek dmitriy-tarasov DenisKudelin uve sgrebnov v-asbenj AndyCross MatthLee jcludwig liupeirong itslenny vkovin v-roklus jonbgallant mhardy tomsoir b-gilish whyao v-danbes NicoCristache-MS sachinio HammyHavoc kiewic v-dorbr ytechie kirkshoop meravber


package version
dev awesome-typescript-loader ^0.15.10
concat-with-sourcemaps ^1.0.4
css-loader ^0.23.1
del 2.1.0
express 4.13.3
extract-text-webpack-plugin ^1.0.1
file-loader ^0.8.5
fs 0.0.2
fs-extra ^0.30.0
glob ^7.0.3
gulp 3.9.0
gulp-add-src ^0.2.0
gulp-base64 ^0.1.3
gulp-changed ^1.3.0
gulp-clone ^1.0.0
gulp-concat 2.6.0
gulp-cssjanus ^0.1.0
gulp-decomment ^0.1.1
gulp-download 0.0.1
gulp-expect-file 0.0.7
gulp-git 1.2.4
gulp-help ^1.6.1
gulp-insert ^0.5.0
gulp-less 3.0.3
gulp-minify-css ^1.2.4
gulp-modify ^0.1.1
gulp-msbuild ^0.2.13
gulp-nop 0.0.3
gulp-open 1.0.0
gulp-peg ^0.1.2
gulp-plumber ^1.0.1
gulp-rename 1.2.2
gulp-replace ^0.5.4
gulp-sourcemaps ^1.6.0
gulp-template ^4.0.0
gulp-tslint 4.3.1
gulp-typescript 2.10.0
gulp-uglify ^2.0.0
gulp-uglifyjs 0.6.2
gulp-unzip 0.1.3
gulp-util 3.0.6
gulp-zip 3.2.0
gulp.spritesmith 4.0.0
imports-loader ^0.6.5
jasmine-core 2.4.1
karma ^0.13.22
karma-jasmine ^0.3.8
karma-phantomjs2-launcher ^0.5.0
karma-trx-reporter ^0.2.6
karma-typescript-preprocessor2 ^1.1.1
karma-webpack ^1.7.0
less-loader ^2.2.2
loader-utils ^0.2.15
merge-stream ^1.0.0
merge2 0.3.6
minimist 1.2.0
object-assign ^4.1.0
opn ^4.0.1
phantomjs-prebuilt ^2.1.7
q 1.4.1
raw-loader ^0.5.1
resolve-url-loader ^1.4.3
run-sequence 1.1.2
script-loader ^0.6.1
shelljs ^0.5.3
stream-consume 0.1.0
style-loader ^0.13.0
through2 ^2.0.0
ts-loader 0.8.1
tslint 3.3.0
tslint-loader ^2.1.3
typescript 1.8.9
url-loader ^0.5.7
val-loader ^0.5.0
webpack ^1.12.14
webpack-dev-server ^1.14.1
webpack-spritesmith ^0.1.2
webpack-stream ^3.1.0
yargs 3.20.0
jasmine-jquery 2.0.5


-   v0.5.9 zip tar
-   v0.5.8 zip tar
-   v0.5.7 zip tar
-   v0.5.6 zip tar
-   v0.5.5 zip tar
-   v0.5.3 zip tar
-   v0.5.2 zip tar
-   v0.5.1 zip tar
-   v0.5.0 zip tar
-   v0.4.6 zip tar
-   v0.4.5 zip tar
-   v0.4.4 zip tar
-   v0.4.3 zip tar
-   v0.4.2 zip tar
-   v0.4.1 zip tar
-   v0.4.0 zip tar
-   v0.3.10 zip tar
-   v0.3.9 zip tar
-   v0.3.8 zip tar
-   v0.3.7 zip tar
-   v0.3.6 zip tar
-   v0.3.5 zip tar
-   v0.3.4 zip tar
-   v0.3.3 zip tar
-   v0.3.2 zip tar
-   v0.3.1 zip tar
-   v0.3.0 zip tar
-   v0.2.13 zip tar
-   v0.2.12 zip tar
-   v0.2.11 zip tar