Python Charts
    • Matplotlib 87 The core library, with full control over every element
    • Plotly 40 Interactive charts for the web and notebooks
    • Seaborn 29 Statistical plots straight from DataFrames
    • Pandas 12 Quick charts with df.plot()
    • Altair 11 Declarative charts built on Vega-Lite
    • Bokeh 5 Interactive plots with linked tools and widgets
    • Plotnine 8 ggplot2's grammar of graphics in Python
    • Streamlit 12 Charts inside Streamlit data apps
    • A/B Testing 15 Sample size, analysis and sequential tests
    • Machine Learning 26 Evaluate and explain scikit-learn models
    • Causal Inference 16 Diff-in-diff, synthetic control, IV and more
    • AI 4 Use LLMs to build charts from your data
  • Python
  • Chart Gallery
  • All Posts
  • Build a Simple RAG Pipeline in Python
    AI

    Build a Simple RAG Pipeline in Python

    Retrieval augmented generation in about 40 lines of Python with local models. Chunk documents, embed them, retrieve with cosine similarity, answer from the passages, and measure where it fails.

    Nov 26, 2026
    llm rag retrieval augmented generation embeddings ollama semantic search
  • Visualize Text Embeddings in Python with UMAP and Plotly
    AI

    Visualize Text Embeddings in Python with UMAP and Plotly

    Embed a set of texts with a local model, project the vectors to 2D with UMAP, and explore them in an interactive Plotly scatter plot. Includes similarity heatmaps, search, and quality checks.

    Nov 26, 2026
    embeddings umap plotly ollama dimensionality reduction semantic search

Python plotting and visualization demystified

© 2026 PythonCharts.com. All rights reserved.
  • About
  • Python Chart Gallery
  • Credits
  • Privacy Policy