Skip to content

Instantly share code, notes, and snippets.


Marcel Ruiz Forns marcelrf

View GitHub Profile
View gist:2d5c33a27c5bb170260b7d71aac6c5bb
# -*- coding: utf-8 -*-
from collections import defaultdict
import argparse
import itertools
import random
import sys
View article-comparison.html
This is a sample application that shows how to use the Pageview API.
Read more here:
The most important code is inside the updateChart function, towards the end of the file.
The rest of the code is just html, css and input setup.
Disclaimer: This is just sample code, it has not been tested in all browsers/devices.
Distributed under the Unlicense:
You can’t perform that action at this time.