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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! 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 [email protected] for furhter investigation.

 

Ignat Vilesov,

Software Engineer

 

Microsoft Power BI Custom Visuals

[email protected]

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Top Solution Authors