Released under the The MIT License.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<head> | |
<script src="http://d3js.org/d3.v3.min.js"></script> | |
<script src="http://dimplejs.org/dist/dimple.v2.0.0.min.js"></script> | |
<script src="script.js"></script> | |
</head> | |
<body> | |
<img src="https://i.imgur.com/UMeohYH.jpg" alt="Total load / total weight percentage; transport types in Brasil" height="500" width = "500"> | |
</body> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="UTF-8"> | |
<style> | |
.bar { | |
fill: grey; | |
} | |
.bar:hover { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const bubbleChart = () => { | |
let margin = { top: 40, right: 30, bottom: 40, left: 30}, | |
width = 960 - margin.right - margin.left, | |
height = 960 - margin.top - margin.bottom, | |
colorCategory = "category", | |
colRadius = "views"; | |
// # MODIFIES THE selection GIVEN BY .call() | |
const chart = selection => { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
code | city | country | lat | lon | |
---|---|---|---|---|---|
ZNZ | ZANZIBAR | TANZANIA | -6.13 | 39.31 | |
TYO | TOKYO | JAPAN | 35.68 | 139.76 | |
AKL | AUCKLAND | NEW ZEALAND | -36.85 | 174.78 | |
BKK | BANGKOK | THAILAND | 13.75 | 100.48 | |
DEL | DELHI | INDIA | 29.01 | 77.38 | |
SIN | SINGAPORE | SINGAPOR | 1.36 | 103.75 | |
BSB | BRASILIA | BRAZIL | -15.67 | -47.43 | |
RIO | RIO DE JANEIRO | BRAZIL | -22.90 | -43.24 | |
YTO | TORONTO | CANADA | 43.64 | -79.40 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html xmlns="http://www.w3.org/1999/xhtml"> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | |
<meta name="generator" content="pandoc" /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Using 'Book I', the Odyssey from The Internet Classics Archive | |
# http://classics.mit.edu/Homer/odyssey.html | |
needed <- c("tm", "functional") | |
# install.packages(needed) | |
sapply(needed, require, character.only = TRUE) | |
text <- readLines("http://classics.mit.edu/Homer/odyssey.mb.txt") | |
str(text) | |
text[198] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
license: mit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>Color Interpolator</title> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script> | |
</head> | |
<body> | |
Interim steps: <input type="range" id="numsteps" value="10" min="1" max="20" /> | |
<ul id="list"> |
PHP is the most widely-known scripting language for server-side applications. Yet still, a lot of people like me have never had the need to learn it. Maybe because it's not that fast, or because it's the granny of server development. Nevertheless, it's a language worth to know. Here, I've curated a list of what you need to learn it, so there you go:
- A great [course on PHP][1] that shows you the advantages of its easy syntax and included functionalities.
- Pick up [a project][4] to work on developing your skills.
- Get your side projects to work in a real-world environment, developing with popular libraries like [Laravel][5] and publishing your versions in [Heroku][6].
There is yet another thing that is not always remembered, and that is code style. Don't bother to write a tremendous application if you are not willing to make it accessible to other developers. There are [multiple books on the topic][2], but I recommend you to bring always a [code style guide][3] with you.
*tip:
OlderNewer