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
  • How to Add Hover Tooltips in Bokeh
    Bokeh

    How to Add Hover Tooltips in Bokeh

    Show data on hover in Bokeh: pick columns, format numbers and dates, follow the x position on line charts, and write custom HTML tooltips.

    Nov 27, 2026
    bokeh hover tooltip scatter plot
  • How to Make a Bubble Chart in Matplotlib
    Matplotlib

    How to Make a Bubble Chart in Matplotlib

    Build a bubble chart with ax.scatter, scale bubble areas correctly, color by group, add a size legend and label the points.

    Nov 27, 2026
    matplotlib bubble chart scatter plot legend
  • Pandas scatter_matrix: Plot Every Pair of Columns
    Pandas

    Pandas scatter_matrix: Plot Every Pair of Columns

    Compare all numeric columns at once with pandas scatter_matrix: KDE diagonals, colors by category, readable labels, correlations, and a lower-triangle layout.

    Nov 27, 2026
    pandas scatter_matrix scatter-plot pairplot correlation exploratory analysis
  • 3D Plots in Plotly: Scatter, Surface, Line, and Mesh
    Plotly

    3D Plots in Plotly: Scatter, Surface, Line, and Mesh

    Make interactive 3D plots in Plotly: scatter points with px.scatter_3d, surfaces with go.Surface, 3D lines and meshes, plus camera angles, aspect ratio and axis settings.

    Nov 27, 2026
    plotly plotly express 3d scatter plot surface plot camera
  • Seaborn Objects Interface: A Guide to so.Plot
    Seaborn

    Seaborn Objects Interface: A Guide to so.Plot

    Build charts with seaborn.objects: marks, stats, and moves in so.Plot layers, plus scales, labels, facets, themes, Matplotlib customization, and saving.

    Nov 27, 2026
    seaborn objects interface so.Plot scatter plot bar chart histogram FacetGrid
  • Matplotlib Markers: Styles, Sizes, and Colors
    Matplotlib

    Matplotlib Markers: Styles, Sizes, and Colors

    A visual list of Matplotlib marker styles, how markersize differs from scatter's s, marker face and edge colors, size legends, and custom markers.

    Nov 26, 2026
    matplotlib markers marker-size scatter-plot bubble-chart line-chart
  • 3D Plots in Matplotlib: Surface, Scatter, Wireframe, and Bar
    Matplotlib

    3D Plots in Matplotlib: Surface, Scatter, Wireframe, and Bar

    Make 3D plots in Matplotlib with projection="3d", including surface plots, 3D scatter, wireframes, contour projections, 3D lines and bars, and set the viewing angle.

    Nov 26, 2026
    matplotlib 3d-plot surface-plot scatter-plot wireframe view_init
  • How to Add and Customize a Colorbar in Matplotlib
    Matplotlib

    How to Add and Customize a Colorbar in Matplotlib

    Add a colorbar with fig.colorbar, move it, shrink it to match the plot, label it, format its ticks, share one across subplots, and make discrete or zero-centered scales.

    Nov 26, 2026
    matplotlib colorbar colormap heatmap scatter-plot imshow
  • How to Plot Millions of Points Fast in Python using Datashader
    Python

    How to Plot Millions of Points Fast in Python using Datashader

    Render millions of points quickly in Python with Datashader, which rasterizes data directly instead of drawing one marker per point.

    Aug 17, 2026
    python datashader big data scatter plot performance visualization
  • Add Interactive Tooltips to Altair Scatter Plots
    Altair

    Add Interactive Tooltips to Altair Scatter Plots

    Add and customize hover tooltips on Altair scatter plots, including formatting values and showing computed fields.

    Aug 16, 2026
    altair tooltip scatter plot vega-lite interactive
  • Animated Bubble Charts over Time in Plotly
    Plotly

    Animated Bubble Charts over Time in Plotly

    Build animated bubble charts over time in Plotly with px.scatter and animation_frame.

    Aug 12, 2026
    plotly animated-chart bubble-chart animation animated-bubble scatter-plot animation-frame
  • Scatter Plots in Matplotlib
    Matplotlib

    Scatter Plots in Matplotlib

    Make a scatter plot with plt.scatter(), then color points by category or value, change their size, and add legends and trend lines.

    Sep 02, 2025
    matplotlib scatterplot scatter plot colorbar
  • A Short Intro to Seaborn
    Seaborn

    A Short Intro to Seaborn

    A short intro to get up and running with Seaborn

    Apr 15, 2019
    seaborn scatterplot scatter plot
  • An Intro to Plotnine
    Plotnine

    An Intro to Plotnine

    Getting started with Plotnine, Python's ggplot2 clone

    Apr 11, 2019
    plotnine scatterplot scatter plot
  • A Brief Introduction to Altair
    Altair

    A Brief Introduction to Altair

    A brief introduction to the Altair Python visualization library

    Mar 13, 2019
    altair scatterplot scatter plot

Python plotting and visualization demystified

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