Skip to content

Instantly share code, notes, and snippets.

Avatar

Ismael Ghalimi ghalimi

View GitHub Profile
View gamma.js
var data = [
{"country": "US", "product": "hardware", "amount": 6},
{"country": "US", "product": "software", "amount": 10},
{"country": "UK", "product": "hardware", "amount": 11},
{"country": "UK", "product": "software", "amount": 2},
{"country": "JP", "product": "hardware", "amount": 4},
{"country": "JP", "product": "software", "amount": 8}
];
var meta = {
View visuals.json
[
{
"name": "Bar",
"type": "cartesian",
"circularization": "Pie",
"priority": "3",
"engine": "vega",
"axes": [
{
"name": "Horizontal",
View Flow.json
{
"data": [
{
"identifier": "combination",
"name": "Combination Dimension",
"description": "Set combination dimension",
"operation": "SET",
"inputs": [
{
"key": "datatype",
View controller.json
{
"stc_schema": {
"title": "Controller Schema",
"type": "object",
"properties": {
"stc_model": {
"stc_datatype": "stc_json",
"stc_name": "Model",
"stc_description": "Model of the page.",
"stc_required": false,
View chronological.json
{
"copyright": "© Sutoiku, Inc. 2013",
"stc_type": "stc_levels",
"stc_summaries": "stc_numerical",
"stc_id_expression": "MOMENTUTC(group, 'YYYY-MM-DD[T]HH:mm:ss+00:00')",
"stc_add_expression": "MOMENTUTCADD(start, period, number)",
"stc_diff_expression": "MOMENTUTCDIFF(start, end, period)",
"stc_format_expression": "MOMENTUTC(group)",
"stc_casting_expression": "MOMENT(value, 'X')",
"stc_inverse_expression": "MOMENT(value * 1000, 'YYYY-MM-DD[T]HH:mm:ss+00:00')",
View schema.json
{
"stc_schema": {
"copyright": "© Sutoiku, Inc. 2013",
"title": "JSON Schema Schema",
"type": "object",
"properties": {
"copyright": {
"stc_datatype": "stc_string",
"stc_name": "Copyright",
"stc_description": "Copyright of the JSON Schema.",
@ghalimi
ghalimi / twitter.json
Created Sep 14, 2013
Twitter Bindings
View twitter.json
[
{
"copyright": "© Sutoiku, Inc. 2013",
"stc_name": "Twitter Get Status By Id",
"stc_identifier": "stc_twitter_get_status_by_id",
"stc_source_api": {
"stc_name": "GET statuses/show/: id",
"stc_website": "https: //dev.twitter.com/docs/api/1.1/get/statuses/show/%3Aid",
"stc_immutable": false,
"stc_refreshed": true,
View family.json
{
"stc_schema": {
"title": "Family Definition Schema",
"type": "object",
"properties": {
"stc_type": {
"stc_datatype": "stc_category",
"stc_name": "Type",
"stc_description": "Type of the family.",
"stc_required": true,
View chart.json
{
"copyright": "© Sutoiku, Inc. 2013",
"stc_schema": {
"title": "Chart Definition Schema",
"type": "object",
"properties": {
"dimensions": {
"type": "array",
"stc_name": "Dimensions",
"stc_description": "Dimensions of the chart.",
@ghalimi
ghalimi / form.json
Last active Dec 22, 2015
Form Definition Schema
View form.json
{
"copyright": "© Sutoiku, Inc. 2013",
"stc_schema": {
"title": "Form Definition Schema",
"type": "object",
"properties": {
"stc_default_tab": {
"stc_datatype": "stc_identifier",
"stc_name": "Default tab",
"stc_description": "Default tab displayed by the form.",