Skip to content

Instantly share code, notes, and snippets.

@gschivley
gschivley / altair_app.py
Created May 13, 2018 18:32
Altair plot in Plotly Dash
# -*- coding: utf-8 -*-
import dash
import dash_core_components as dcc
import dash_html_components as html
from dash.dependencies import Input, Output
import pandas as pd
import sqlalchemy
import altair as alt
import io
from vega_datasets import data