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
@media only screen and (min-width: 641px) { | |
body, html { | |
overflow-x: hidden; } } | |
@media only screen and (max-width: 40em) { | |
html { | |
-webkit-text-size-adjust: 100%; } } | |
body { | |
-webkit-font-smoothing: antialiased; |
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
/** | |
* Foundation for Sites by ZURB | |
* Version 6.4.3 | |
* foundation.zurb.com | |
* Licensed under MIT Open Source | |
*/ | |
/* Global Styles and resets */ | |
@media only screen and (min-width: 641px) { | |
body, html { |
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
@media only screen and (min-width: 641px) { | |
body, html { | |
overflow-x: hidden; } } | |
@media only screen and (max-width: 40em) { | |
html { | |
-webkit-text-size-adjust: 100%; } } | |
body { | |
-webkit-font-smoothing: antialiased; |
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
line { | |
shape-rendering: crispEdges; } | |
.aboveLabelTickText { | |
font-family: 'Raleway', sans-serif; | |
font-size: 1rem; | |
fill: #404040; } | |
.barLabel { | |
font-family: 'Raleway', sans-serif; |
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
document.addEventListener("DOMContentLoaded", function(){ | |
// set global variables | |
var path = ''; | |
var dataFile = ['placeholder-dataset.csv','placeholder-two.csv']; | |
var dataFileTwo = 'placeholder-two.csv'; | |
var elemContainer = ['#donutChart', '#donutChartTwo', '#donutChartThree','#donutChartFour']; | |
var uiEl = '.chart-ui-container input'; | |
var cssFile = 'donut-chart-single.css'; | |
var strNumHeaders = ['header_two_amount','header_three_amount']; // to convert to numbers |
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
document.addEventListener("DOMContentLoaded", function(){ | |
// set global variables | |
var path = ''; | |
var dataFile = 'placeholder-dataset.csv'; | |
var dataFileTwo = 'placeholder-two.csv'; | |
var elemContainer = ['#donutChart', '#donutChartTwo']; | |
var uiEl = '.chart-ui-container input'; | |
var cssFile = 'donut-chart.css'; | |
var strNumHeaders = ['header_two_amount','header_three_amount']; // to convert to numbers |
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
document.addEventListener("DOMContentLoaded", function(){ | |
var options = { | |
window: window, | |
path:"", | |
css: "d3-presentation.css", | |
js: "d3-presentation.js", | |
dataFile: "nat-cat.csv", | |
element: document.querySelector("#presBarchart"), | |
functionName: "presBarchart", |
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 class="no-js" lang="en"> | |
<head> | |
<meta charset="utf-8" /> | |
<meta http-equiv="x-ua-compatible" content="ie=edge"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Timmy's Pareto Chart!</title> | |
<!-- css dynamically injected --> | |
</head> | |
<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
document.addEventListener("DOMContentLoaded", function(){ | |
var options = { | |
window: window, | |
path:"", | |
css: "horiz-barchart.css", | |
js: "horizBarchart.js", | |
dataFile: "nat-cat.csv", | |
element: document.querySelector("#horizBarchart"), | |
functionName: "horizBarchart", |
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
var d3Config = d3Config || {}; | |
d3Config.init = function(settings) { | |
console.log("Configing!!"); | |
d3Config.linkStyle(settings); | |
if (typeof settings.win.d3 === "undefined") { | |
console.log("lib undefined"); | |
d3Config.loadLib(settings); | |
} | |
if (typeof settings.win.d3 !== "undefined") { | |
console.log("lib defined"); |
NewerOlder