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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.