Py.Cafe

jragh./

toronto-meetup-data-template

Toronto Meetup Data Visualization using Plotly and Dash

DocsPricing
  • app.py
  • requirements.txt
app.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# check out https://dash.plotly.com/ for documentation
# And check out https://py.cafe/maartenbreddels for more examples

## Toronto Meetup PYthon Script ##
from dash import Dash, Input, Output, callback, dcc, html
import pandas as pd
import plotly.express as px
import polars as pl

df = pd.read_csv('my_dataset.csv')
fig = px.bar(df, x="x_col",y="y_col")


app = Dash(__name__)
app.layout = html.Div(
    children=[
        
        dcc.Graph(figure={})

    ]
)