Fast Knowledge Visualization with Copilot and Plotly | by Alan Jones | Feb, 2025

Code visualizations shortly and effectively with Copilot, Plotly, and Streamlit

Pair programming — the picture is a collaboration between Deepseek and DALL-E

GitHub has just lately launched a free tier for Copilot, so now there’s completely no cause to not strive it out. I made a decision to present it a go on some day-to-day coding to see how far more productive it’s than coding by hand.

To be sincere, I quite like coding by hand so I haven’t used AI to generate code to any nice extent. I believe that is going to vary.

Initially, I solely used Copilot for easy coding duties and I used to be pleasantly shocked how fast and straightforward it was — significantly faster than coding by hand. Subsequent, I created a Streamlit app that concerned a bit of knowledge evaluation, after which I let Copilot make it extra interactive by including consumer interface controls. All this with out me writing a single line of code!

I used Microsoft VSCode and added the GitHub Copilot extension, so, if you wish to comply with alongside you could set up the extension and skim the directions on how one can get began with it. Copilot helps different editors as nicely however VSCode is at present my editor of selection.

I’ll get to the visualization and Streamlit code shortly, however first, let’s have a look at the methods we will use Copilot.