How To Build A Web Application Without Any Front-Line Coding - by Huixin K. - Medium
How To Build A Web Application Without Any Front-Line Coding - by Huixin K. - Medium
| Medium
You can find the end product over here on Heroku: https://faker-
streamlit.herokuapp.com/
https://hxkoey.medium.com/how-to-build-a-web-application-without-any-front-line-coding-6ff7278a27aa 1/7
3/8/2021 How to build a web application without any front-line coding | by Huixin K. | Medium
import streamlit as st
import pandas as pd
from faker import Faker
import random
import plotly.express as px
from wordcloud import WordCloud, STOPWORDS
import base64
After generating 500 data points from the Faker library including latitude
and longitude, it’s time to build our interactive dashboard.
st.plotly_chart(fig2)
https://hxkoey.medium.com/how-to-build-a-web-application-without-any-front-line-coding-6ff7278a27aa 2/7
3/8/2021 How to build a web application without any front-line coding | by Huixin K. | Medium
st.map(modified_data)
https://hxkoey.medium.com/how-to-build-a-web-application-without-any-front-line-coding-6ff7278a27aa 3/7
3/8/2021 How to build a web application without any front-line coding | by Huixin K. | Medium
Creating a wordcloud
fig.update_layout(
yaxis=dict(tickvals=[]),
https://hxkoey.medium.com/how-to-build-a-web-application-without-any-front-line-coding-6ff7278a27aa 4/7
3/8/2021 How to build a web application without any front-line coding | by Huixin K. | Medium
xaxis=dict(tickvals=[])
)
st.plotly_chart(fig)
https://hxkoey.medium.com/how-to-build-a-web-application-without-any-front-line-coding-6ff7278a27aa 5/7
3/8/2021 How to build a web application without any front-line coding | by Huixin K. | Medium
https://hxkoey.medium.com/how-to-build-a-web-application-without-any-front-line-coding-6ff7278a27aa 6/7
3/8/2021 How to build a web application without any front-line coding | by Huixin K. | Medium
Final Thoughts
Since I started coding about a year ago, I have been using Jupyter
notebooks on my local computer which has been fantastic so far. As I
progressed along this journey, I came to realise that there are times where I
had to scour the Internet for the same piece of stackoverflow which can get
a little bit frustrating.
So here I am, finally documenting my journey. Like what Gary Vee often
preached, “Document. Don’t create.” 💌
https://hxkoey.medium.com/how-to-build-a-web-application-without-any-front-line-coding-6ff7278a27aa 7/7