Data Visualization, Data Science and AI by Alan Jones
Data Visualization and AI apps for the web using Streamlit, Plotly, Python and Flask. See the articles/tutorials, below - many have the example code on Github.
Articles
Data Visualization with Dash and Bootstrap Components
A simple data dashboard in pure PythonCreate Your Own House Style for Matplotlib Plots and Charts
Customise your Matplotlib plots with off-the-shelf style sheets - or design your ownUK in Shock AI Revelation
Instead of just talking about AI, the UK government intends to use it! And the reaction is disappointing.Instant RAG Applications with Pinecone Assistant
Pinecone Assistant is an online RAG/Vector database solution with a free tierRapid Data Visualization with Copilot and Plotly
Code visualizations quickly and efficiently with Copilot, Plotly and StreamlitAI for BI: Transform Customer Feedback into Actionable Insights with CrewAI and Streamlit
Build an AI-powered app to analyze unstructured feedback, generate insightful reports, and create interactive visualizationsAI for BI: Building a Business Information Report with CrewAI and OpenAI
How to create a simple BI report directly from dataAI Agent Orchestration: Hands on with OpenAI Swarm
Build multi-agent systems with Swarm, a back-to-basics frameworkHands on Data Visualization with Google Mesop
Google Mesop is an easy-to-use Python UI framework. We see how to use it to create Data Visualization app with Plotly.How to Build a Private AI Agent with Ollama and LlamaIndex
Running a local LLM is a no-cost alternative to using commercial APIsAI Agents vs. AI Pipelines - A Practical Guide to Coding Your LLM Application
We use CrewAI to create apps that demonstrate how to choose the right architecture for your LLM applicationHow to Construct a Multipage Data Science Web App in Python with Taipy
Taipy supports easy navigation between pages in Python web apps - we create a simple CO2 emissions appFrom Data to Visualization with the OpenAI Assistants API and GPT-4o
We explore the Code Completion tool from OpenAI’s Assistants API to create visualizations directly from dataHow to Build a ReAct AI Agent with Claude 3.5 and Python
We present a Reason+Act agent that iteratively reasons and gathers information from external tools before providing an answer.Streamlit Supports 5 Important Data Visualization Libraries - Which to Choose?
We code examples using Altair, Bokeh, Plotly, Pandas Plot and Matplotlib, to illustrate the pros and cons of each onestlite - How to Run Your Streamlit Apps in the Browser
stlite is a browser-based implementation of Streamlit that can run apps on a web page without having to deploy to a Streamlit serverggplot - Grammar of Graphics in Python with Plotnine
Do you wish that Python could emulate the superb visualizations that ggplot gives you in the R language? Well it can. Plotnine is a powerful graphics library for great visualizations and based on ggplotWhy I'm Using VSCode for Jupyter Notebooks
VSCode is a great Python editor and, as I accidentally discovered, good for Jupyter Notebooks, tooVisualizing Health Risk
The press can very easily get it wrong when dealing with health risk data. Data visualizations can help.Using Streamlit's Chat Elements, the Doctor is in
We use Streamlit's chat elements to reproduce the famous 1960s Rogerian-psychologist-bot ELIZATopical Plots - Global Warming Heatmaps
Which chart will get the message across bestStreamlit and MongoDB - Storing Your Data in the Cloud
Deploying your Streamlit app to the Cloud means that any data that you create with that app disappears when the app terminates - unless you use third-party storage like the NoSQL database MongoDBSimple Surveys with Streamlit
Streamlit's user interface components made constructing simple surveys easy. We create a simple survey with Streamlit, present it and show the results.SQL, Pandas or Both - Analysing the UK Electoral System
Pandas is great for analysing and plotting data but should you store your data in a database and select it with SQL. Let's take a look at some common operations using Pandas and SQL and see how they comparePyscript Evolves - How The New Version Stacks Up
We build a data viz app with the new faster PyScriptPyScript v. Flask - How to Create a Python App in the Browser or on a Server
PyScript lets you create web apps in Python without the need for a server. Flask is a Python web app framework for making server-based apps. We write the same simple app using bothOrganize Your Data Science Projects with PPDA - a Case Study
Define your problem, develop a plan, find the data, analyze the data and then communicate your conclusionsMean, Median and Mode - What Are They and When Should You Use Them?
You probably remember Mean, Median, and Mode from high school stats classes but they are often misused. We look at how you should use them with Python and Pandas examples.Mastering the Powerful New Assistants API for Data Analyst
OpenAI's Assistants API lets us create AI assistants which leverage tools that can operate on user-provided dataHow to use Ploty with PyScript
PyScript doesn't support Plotly directly but there is a simple way around itHow to Deploy Plotly Graphics to a Simple Static Web Page
Plotly has a native method to create basic web pages but with a little more effort, web templates get you a much better resultHow to Create a Simple GIS Map with Plotly and Streamlit
Plotly map functions combined with Streamlit user interface components provide a way of creating GIS-style dashboardsHow to Create a Grid Layout in Streamlit
We present a method to programmatically create a grid layout in Streamlit with a World population data demonstration appHow to Build a Gallery of Streamlit Apps as a Single Web App
Download a free template, pop in multiple Streamlit apps and you've got a multiple Streamlit apps on a single web pageHow to Build Waterfall Charts with Plotly Graph Objects
Plotly Express doesn't implement waterfall charts but we can create a helper function that utilises Plotly Graph Objects insteadHow Not to Lie with Charts
You can use data visualization to inform, or misinform. We look at the things to avoid if you want to do the former and not the latter.How I used ChatGPT to Build a Streamlit Dashboard App
Using CO² emission data I created a dashboard app in Streamlit with ChatGPT and no codingFlapjax - Data Visualization on the Web with Plotly and Flask
Build a data visualisation web page with Plotly and Flask, and make it interactive with some UI componentsData Visualization on the Web with Plotly and PyScript
Put your data visualisations on the web with HTML templates — no server-side code requiredData Analysis with ChatGPT and Jupyter Notebooks
The conversational way of generating code with ChatGPT works well with the cell structure of Jupyter Notebooks. There is a natural workflow when using ChatGPT with Jupyter Notebooks which makes generating a code for a Jupyter Notebook using ChatGPT surprisingly easy and satisfying.Create an Interactive Web App with PyScript and Pandas
PyScript allows us to create a serverless web application with HTML and Python as the scripting language.Create an AI-Generated Streamlit Application with an OpenAI Assistant
We use the OpenAI Playground and code completion tools to create a Streamlit app with interactive Plotly chartsChatGPT Prompting for Coders - a Prototyping Approach
A suitable prompting technique can make the development of usable code with ChatGPT quite painless. Here we prototype a Streamlit app for tracking cryptocurrency.An Interactive Web Dashboard with Plotly and Flask
To create a truly interactive app with Dash you need to use callbacks. You can achieve the same thing with Plotly and Flask.Altair - Using the Powerful Vega-Lite 'Grammar of Graphics'
Using the Altair library for Python we can develop compelling data visualizations based on a grammar of graphics and implement them in StreamlitA Multi-page Interactive Dashboard with Streamlit and Plotly
https://towardsdatascience.com/a-multi-page-interactive-dashboard-with-streamlit-and-plotly-c3182443871a4 Ways to Create a Multi-Page Streamlit App
Streamlit may not have been designed for full blown web sites but it is fairly straightforward to create multiple pages in a single app2023 was the Hottest Summer Ever
We look at how to visualize the hottest-ever recorded temperatures over the period of June through August 202312 Essential Visualizations and How to Implement Them - part 2
We look at how to create the 12 most useful graphs and charts with Python, Matplotlib and Streamlit.12 Essential Visualizations and How to Implement Them - part 1
We look at how to create the 12 most useful graphs and charts with Python, Matplotlib and Streamlit.
Sponsored content
Streamlit from Scratch
Streamlit is a framework for creating Data Science apps in Python.
Streamlit from Scratch will take from building a simple we page through to creating fully functional
interactive data dashboards.
Recommended books
Alberto Cairo
Alberto Cairo is the Knight Chair in Visual Journalism at the University of Miami (UM), and has written excellent books about Data Visualization. Here are two of my favourites:Cole Nussbaumer Knaflic
Cole Nussbaumer Knaflic tells stories with data. She is founder and CEO of storytelling with data (SWD). SWD's well-regarded workshops and presentations are highly sought after by data-minded individuals, companies, and philanthropic organizations all over the world. Here is her most famous book:subscribe via RSS