Skip to content

Instantly share code, notes, and snippets.

View AnnMarieW's full-sized avatar

Ann Marie Ward AnnMarieW

View GitHub Profile
import streamlit as st
import pandas as pd
import numpy as np
import plotly.express as px
from dash_bootstrap_templates import load_figure_template
# I was too lazy to configure the charts individually, and this dash library served very well :)
load_figure_template('minty')
st.set_page_config(layout="wide")
# ========== Data Preparation ========== #
@st.cache(allow_output_mutation=True)
@celia-lm
celia-lm / app.py
Last active May 22, 2025 18:09
Fuzzy Search in Dash Ag Grid
import dash_ag_grid as dag
from dash import Dash, html, dcc, Input, Output, callback
import pandas as pd
app = Dash()
# adapted from https://dash.plotly.com/dash-ag-grid/text-filters#text-matcher
df = pd.read_csv(
"https://raw.githubusercontent.com/plotly/datasets/master/ag-grid/olympic-winners.csv"