An interactive bar chart of snow totals in the United States, using D3 and some JQuery magic. Used as a walkthrough tutorial at the first Syracuse InfoViz Meetup.
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 webpack = require('webpack'); | |
var config = require('config'); | |
var merge = require('webpack-config-merger'); | |
var baseConfig = require('./webpack.base.js'); | |
var patterns = require('css-patterns'); | |
var path = require('path'); | |
var WP_PORT = config.get('webpackServer.port'); | |
module.exports = merge(baseConfig, { |
An interactive heatmap of drought conditions in the United States, reflecting data from November 2008. Rendered w/ D3.
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
# NEXIS Seminar R Example | |
# | |
# Bar Chart | |
# Create the data frame | |
cities <- c('Buffalo', 'Syrause', 'Binghamton', 'Rochester', 'Albany') | |
snow <- c(75.5, 60.1, 58.7, 54.2, 52.3) | |
snowLevels <- data.frame(cities, snow) | |
print(snowLevels) |
Here we have rendered a simple bar chart of hard-coded data regarding snow totals in Upstate New York for the 2014-2015 winter season. The graph includes two scaled axes and outputs the snow total when hovering over each bar. Built with D3.
NewerOlder