Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
Hi Microsoft Fabric Community,
I'm encountering an issue with rendering visualizations using Sedona Kepler in my Microsoft Fabric notebook. I followed the steps from the video 'Analyzing Bird Species Range With Spatial SQL & Apache Sedona' (https://youtu.be/_IYMFYmyGPU?si=XgCPuoJYleblul7b) and successfully ran almost all the cells. However, the cells with visualizations using Sedona Kepler, although running successfully, did not render the visualizations. The dataframes are not empty, but the visualizations are not displaying.
Here's a snippet of the code I used:
```python
sedona_kepler_birds = SedonaKepler.create_map(df=quail_df, name="Quail")
#sedona_kepler_h3 = SedonaKepler.create_map(df=hex_exploded_h3, name="h3")
```
The job executed successfully as shown below:
```
Command executed in 4 sec 939 ms
Status: succeeded
```
From a discussion with the Wherobots team, it was suggested that Microsoft Fabric might not support KeplerGL Python due to its dependency on `ipywidget`, which is likely only available in vanilla Jupyter Notebooks. They recommended trying the script in environments that offer vanilla Jupyter Notebooks such as the Sedona Docker image or AWS EMR.
Has anyone encountered a similar issue or found a workaround to render visualizations using Sedona Kepler in Microsoft Fabric? Any help or guidance would be greatly appreciated!
Thank you!
Bakht Singh
Hi @Anonymous,
Have you tried to use other function of current library or another plot libraries to confirm if visualization rendering and plotting works well in current notebook and environment?
What version of apach-sedona library installed in the environment, have you tried with the latest versions?
If all version and all Sedona function does not work, it may mean that not works in fabric notebook. You may need to consider using other libraries plot visualizations.
Regards,
Xiaoxin Sheng
Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 |