Getting started

Step by step guide how to build React-based Custom Visual

This tutorial explains you how to create the simplest custom visual using React, displaying single value in a circle. It will have adaptive size and settings to customize it.

coloredCircleCard

CircleCard visual

You can clone or download the full source code of that visual from GitHub.

Starting with default template

If this is your first custom visual, please read how to set up developer environment first. You need only the part describing the developer environment set up.

  1. Create basic PowerBI Custom Visual
      pbiviz new ReactCircleCard 
    
  2. Step into new folder and launch Visual Studio Code
      cd ./ReactCircleCard; code .
    
  3. Start developer server for your custom visual.
      pbiviz start
    

updatesVisual

This basic visual represents updates count. Let’s transform it to a circle card, which will represent some singular measure and its title using React JS.