Skip to content
This repository has been archived by the owner on Feb 18, 2022. It is now read-only.


Repository files navigation

PowerBi Custom Visual in Vega-Lite

NOTE: This project is now archived. We recommend as a well maintained replacement for this project.

This project demonstrates how Vega and Vega-Lite can be used in custom visuals in PowerBI. This custom visual is not intended for daily use. Think of it as a hello world for Vega and Vega-Lite in PowerBI custom visuals.



First install necessary dependencies with npm install. Then run npm run cert and follow the instructions at


Run npm start in a terminal.

The open PowerBI with developer mode enabled and create a developer visual.


This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit

When you submit a pull request, a CLA-bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

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