Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Dailey
Frequent Visitor

Custom Visualization in Power BI

I just learned from the link below that we can use plotly widget from R in Power BI, which I found very inspiring:

https://github.com/Microsoft/PowerBI-visuals/blob/master/RVisualTutorial/CreateRHTML.md

 

However, when I tried to use recharts in R, it failed, giving me the error details as below. Any one knows how to fix this? Thank you in advance.

 

 

Attaching package: 'recharts'

 

The following object is masked from 'package:plotly':

 

    add_heatmap

 

Error: 1: Input is not proper UTF-8, indicate encoding !

Bytes: 0xF5 0x3C 0x55 0x2B

2: error parsing attribute name

3: attributes construct error

4: Couldn't find end of Start Tag U line 2

5: error parsing attribute name

6: attributes construct error

7: Couldn't find end of Start Tag U line 4

8: error parsing attribute name

9: attributes construct error

10: Couldn't find end of Start Tag U line 4

11: error parsing attribute name

12: attributes construct error

13: Couldn't find end of Start Tag U line 4

14: error parsing attribute name

15: attributes construct error

16: Couldn't find end of Start Tag U line 4

17: error parsing attribute name

18: attributes construct error

19: Couldn't find end of Start Tag U line 4

20: error parsing attribute name

21: attributes construct error

22: Couldn't find end of Start Tag U line 4

23: error parsing attribute name

24: attributes construct error

25: Couldn't find end of Start Tag U line 4

26: error parsing attribute name

27: attributes construct e

In addition: Warning message:

In readLines(con) :

  incomplete final line found on './out.html_files/echarts-2.2.7/echarts-all.js'

Execution halted

 

1 REPLY 1
v-viig
Community Champion
Community Champion

We'd recommend to send this issue to pbircvsupport@microsoft.com for furhter investigation.

 

Ignat Vilesov,

Software Engineer

 

Microsoft Power BI Custom Visuals

pbicvsupport@microsoft.com

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.