Skip to content

Instantly share code, notes, and snippets.

View brightloudnoise's full-sized avatar

Geoff Holden brightloudnoise

View GitHub Profile
@brightloudnoise
brightloudnoise / index.js
Created November 23, 2017 02:14
legendOrdinal
import React from "react";
import { Pie } from "@vx/shape";
import { Group } from "@vx/group";
import { scaleOrdinal } from "@vx/scale";
import { LegendOrdinal } from "@vx/legend";
//import data from "./CategoryByDay.json";
const data = [
{
"Category": "Category Name 1",
@brightloudnoise
brightloudnoise / index.js
Created November 23, 2017 02:11
legend trouble
import React from "react";
import { Pie } from "@vx/shape";
import { Group } from "@vx/group";
import { scaleOrdinal } from "@vx/scale";
import { LegendOrdinal } from "@vx/legend";
//import data from "./CategoryByDay.json";
const data = [
{
"Category": "Category Name 1",
@brightloudnoise
brightloudnoise / index.js
Last active November 23, 2017 02:08
LegendOrdinal
import React from "react";
import { Pie } from "@vx/shape";
import { Group } from "@vx/group";
import { scaleOrdinal } from "@vx/scale";
import { LegendOrdinal } from "@vx/legend";
//import data from "./CategoryByDay.json";
const data = [
{
"Category": "Category Name 1",
@brightloudnoise
brightloudnoise / scheddata_rollup.json
Created October 17, 2016 15:01
Schedule Data (Rollup Offers)
[
{
"PLATFORMS": "Comcast,Vubiquity",
"SCHEDULE": "Discovery Channel VOD",
"OFFERS": "16 - MULTI,17 - MULTI_HD,18 - MULTI_C3,19 - MULTI_C3_HD,57 - KIDS_50",
"PROGRAMTITLE": "River Monsters (Season 5): Specials",
"EPISODETITLE": "Face Ripper",
"DURATION": 720000,
"STARTDATE": "2016-04-01",
"ENDDATE": "2016-04-14",
@brightloudnoise
brightloudnoise / scheddata.json
Last active October 17, 2016 15:00
Schedule Data (Discrete)
[
{
"PLATFORMS": "Comcast",
"SCHEDULE": "Discovery Channel VOD",
"OFFERS": "57 - KIDS_50",
"PROGRAMTITLE": "River Monsters (Season 5): Specials",
"EPISODETITLE": "Face Ripper",
"DURATION": 720000,
"STARTDATE": "2016-04-01",
"ENDDATE": "2016-04-14",