Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Dear all,
I try to create a custom visual in react but I don't know how to add a legend.
I know how to add a static legend but how to add dynamic legend (number of color picker depending data) ?
Something like this for pie chart for example..
Thank you !
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 7 | |
| 5 | |
| 2 | |
| 1 | |
| 1 |