fivethirtyeight/gulp-d3-pre

Name: gulp-d3-pre

Owner: FiveThirtyEight

Description: Gulp task for pre-rendering d3 with d3-pre

Created: 2016-01-08 02:15:43.0

Updated: 2017-11-16 13:42:37.0

Pushed: 2016-07-14 21:30:54.0

Homepage: null

Size: 1780

Language: HTML

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

gulp-d3-pre

Gulp task for pre-rendering d3 with d3-pre.

See d3-pre for more detailed documentation.

Usage

Install the gulp plugin:

m install gulp-d3-pre

Create a gulp task:

.task('prerender-svgs', function() {
lp.src('./public/index.html')
.pipe(d3Pre())
.pipe(gulp.dest('./public/'));


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.