Prep for launch
You’ve built a great visualization. Congratz! It’s time to put it online and share with the world.
To do that, we’re going to use Github Pages because our app is a glorified static website. There’s no backend, so all we need is something to serve our HTML, JavaScript, and CSV. Github Pages is perfect for that.
It’s free, works well with create-react-app
, and can withstand a lot of traffic. You don’t want to worry about traffic when your app gets to the top of HackerNews or Reddit.
There are a few things we should take care of:
- setting up deployment
- adding a page title
- adding some copy
- Twitter and Facebook cards
- an SEO tweak for search engines
- use the full dataset
Setting up deployment
You’ll need a Github repository. If you’re like me, writing all this code without version control or off-site backup made you nervous, so you already have one.
For everyone else, head over to Github, click the green New Repository
button and give it a name. Then copy the commands it gives you ...