Custom pie chart markers in interactive plot

Hey everyone,

I’m new to this forum, so please let me know if this kind of post isn’t appropriate.

I’ve been working on some power system modeling and needed a way to interactively explore and visualize the results — things like dispatch data, power flows, and time series — in a more intuitive way. Since I couldn’t find a tool that fully met my needs, I decided to build one myself and wanted to share it here in case others find it useful.

The tool is an interactive Python application built using Dash and Leaflet. It allows you to explore network data directly on a map with dynamic plots and a responsive interface. You can filter data using dropdowns, interact with nodes on the map, and even display data-rich markers like pie charts at each location.

The example data represents the ENTSO-E region (one node per zone), and while it’s inspired by PyPSA-Eur, all parameters and results are randomly generated for demonstration purposes.

:triangular_flag: Key features include:

Interactive map visualization with nodes and flow lines

Pie chart markers and custom JavaScript-based map elements

Dynamic plotting of dispatch, flows, and other metrics (line, bar, histogram)

Time navigation using sliders and selectors

Toggle between local and global views

Fully configurable via YAML files

Modular structure for easy extension and customization

If you’re interested, you can check out the GitHub repository and try it out on a sample dataset:

GitHub: GitHub - kwalenta/GraphPlottingTool: An interactiive Python tool to visualize results from power system optimization

I’d really appreciate any feedback or suggestions. Thanks for reading!

Best regards,
Kelvin

1 Like

This looks really cool, @kwalenta . Are you planning to deploy your app to the web to help the community interact with it?