Skip to content

Instantly share code, notes, and snippets.

View noklam's full-sized avatar
🎯
Focusing

Nok Lam Chan noklam

🎯
Focusing
View GitHub Profile

Summary: #Data Visualization with D3.js Final Project

Author : Nok Chan

Date: 2016/08/16

This is the final project Data Visualization with D3.js course, which is part of the Udacity Data Analyst Nanodegree.

Date set: Propser Loan Data Set:

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@noklam
noklam / lesson5-nlp-Copy1.ipynb
Last active February 18, 2018 10:56
lesson5-nlp-Copy1.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@noklam
noklam / dogs_cats.ipynb
Last active October 16, 2018 03:29
dogs_cats.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@noklam
noklam / gist:2d07574306179aa48d5977da80327aa6
Last active October 27, 2018 12:45
Zerio divide error for one_cycle
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
import altair as alt
(alt.Chart(df_sub)
.mark_rect()
.encode(x='yearmonthdate(hospTime):O',
y='hospNameEn:N',
color=alt.Color('mean(topWaitTime):Q',
scale=alt.Scale(scheme='orangered')))
)
@noklam
noklam / seaborn_widget.py
Last active March 11, 2019 04:47
demo of ipywidgets and seaborn
import seaborn as sns
import ipywidgets
@ipywidgets.interact
def plot(color=['red','steelblue']):
(sns.barplot(y='hospNameEn',
x='topWaitTime',
data=df_mean,
orient='h',
color=color)