Custom visuals is not supporting more than 30,000 records.
Please check this link: https://learn.microsoft.com/en-us/power-bi/developer/visuals/dataview-mappings
Below is highlighted points for reference:
You can modify the count value to any integer value up to 30000. R-based Power BI visuals can support up to 150000 rows.