Sometimes when you're working on a graphic with ai2html, your exported graphic might have issues with text.
For example, this one has text that runs off the side of the page:
<!doctype html> | |
<html lang="en"> | |
<head> | |
<!-- Required meta tags --> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> | |
<!-- Bootstrap CSS --> | |
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css"> |
Sometimes when you're working on a graphic with ai2html, your exported graphic might have issues with text.
For example, this one has text that runs off the side of the page:
<CORSConfiguration> | |
<CORSRule> | |
<AllowedOrigin>*</AllowedOrigin> | |
<AllowedMethod>GET</AllowedMethod> | |
</CORSRule> | |
</CORSConfiguration> |
{ | |
"Version":"2012-10-17", | |
"Statement":[ | |
{ | |
"Sid":"PublicRead", | |
"Effect":"Allow", | |
"Principal": "*", | |
"Action":["s3:GetObject","s3:GetObjectVersion"], | |
"Resource":["arn:aws:s3:::YOUR_BUCKET_NAME_GOES_HERE/*"] | |
} |
country | continent | life_expectancy | population | gdp | gdp_per_capita | |
---|---|---|---|---|---|---|
Afghanistan | Asia | 54.863 | 22856302 | 15153728226 | 663 | |
Albania | Europe | 74.2 | 3071856 | 12886435920 | 4195 | |
Algeria | Africa | 68.963 | 30533827 | 155661450046 | 5098 | |
Angola | Africa | 45.234 | 13926373 | 34063908358 | 2446 | |
Antigua and Barbuda | N. America | 73.544 | 77656 | 989182128 | 12738 | |
Argentina | S. America | 73.822 | 36930709 | 390394524839 | 10571 | |
Armenia | Europe | 71.494 | 3076098 | 6502871172 | 2114 | |
Australia | Oceania | 79.93 | 19164351 | 560384787591 | 29241 | |
Austria | Europe | 78.33 | 8004712 | 256214821696 | 32008 |
.DS_Store |
Installing tweego is a little more complicated than (I think) it should be, so here's a script to do it for you. If you'd like to one-line it, you can just cut and paste this in Terminal:
/bin/bash -c "$(curl -fsSL https://gist.githubusercontent.com/jsoma/5ef3045b2004a610455f371479a6f0cf/raw/b6c9224faa18fd52f3e1bf7120af17eed6da8ec1/tweego.sh)"
Once it's installed, tweego docs are here. You'll probably want to read these twee docs, too.
We're going to start by creating a new repository using GitHub Pages.
And we're going to name is after ourselves! My github username is jsoma, so I'm going to call my repository jsoma.gitub.io.
Name your repository
YOURUSERNAME.github.io
. Double-check what your GitHub username is. If you do this part wrong, you'll be sad!